Returns the number of total protected Office 365 user accounts. This is a useful metric when reconciling services in the Gradient MSP billing module.
Devices[?Type == 'Office365']to_number(TotalProtectedUserAccounts) | sum(@)