Returns the number of results which have the given attribute and attribute value.
- macOS 10.4+
- Core Services
The attribute name to return the result count of. If the attribute is not one of those requested in the
valueparameter, the behavior is undefined.
The attribute value for which to return the number of results with that value. This parameter may be
NULL, in which case the number of results that do not contain the specified attribute is returned.
The number of results containing that attribute and value.
This count may change over time if the query allows live-updates.