Counts the number of items in a data collection that match the provided filtering preferences.
You can only call this method when authenticated as a Wix app or Wix user identity.