Method Count NamespaceMongoDB.Driver AssemblyMongoDB.Driver.dll Count() Appends a count stage to the pipeline. public virtual IAggregateFluent<AggregateCountResult> Count() Returns IAggregateFluent<AggregateCountResult> The fluent aggregate interface.