If running a query and implementing the itcount() will exhaust the cursor then what would be the most efficient way of obtaining a count ahead of a query that actually retrieves the documents?
Do we just return the _id values to limit the size of the response or is there some other count method to use to only return a number for the total records that exist without returning the document information?