Returns the total number of items that match the query.
The totalCount returns the total number of items that match the query, not just the number of items in the current page.