Count documents

Counts the number of documents that match the given query. If no query is passed, returns the number of elements in the collection

See full list.

Additional Information