Navigation
This version will reach end of life on Feb 2018. To upgrade, go to the Learn more about upgrading your version of MongoDB.

cursor.size()

cursor.size()
Returns:A count of the number of documents that match the db.collection.find() query after applying any cursor.skip() and cursor.limit() methods.