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