MongoCollectionBase<TDocument>.CountAsync Method (FilterDefinition<TDocument>, CountOptions, CancellationToken) |
Namespace: MongoDB.Driver
public abstract Task<long> CountAsync( FilterDefinition<TDocument> filter, CountOptions options = null, CancellationToken cancellationToken = null )