Sites active
How many sites had modifications in the period?
COUNT(DISTINCT site.id) WHERE lastModifiedDateTime IN period OR driveItem.lastModifiedDateTime IN period
Activity via site or item lastModified — lock definition.
Adapt: Optionally exclude OneDrive personal sites.