This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Counts resource types according to given criteria.
For field support for filters, see Resource types: Filtering and Sorting. Use WQL filter to define the criteria.
Filter to base the count on. See queryResourceTypes() for supported filters.