For speed, I\'d like to limit a query to 10 results
db.collection.find( ... ).limit(10)
However, I\'d also like to know the total count, so
cursor.count() should ignore cursor.skip() and cursor.limit() by default.
cursor.count()
cursor.skip()
cursor.limit()
Source: http://docs.mongodb.org/manual/reference/method/cursor.count/#cursor.count