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