This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Counts resources according to given criteria.
Use WQL filter to define the criteria.