count method

AggregateField count()

Create an AggregateField object that can be used to compute the count of documents in the result set of a query.

Implementation

external AggregateField count();