MongoCollectionBaseTDocumentCountAsync Method | 
| Name | Description | |
|---|---|---|
| CountAsync(FilterDefinitionTDocument, CountOptions, CancellationToken) |  Obsolete.  
            Counts the number of documents in the collection.
              | |
| CountAsync(IClientSessionHandle, FilterDefinitionTDocument, CountOptions, CancellationToken) |  Obsolete.  
            Counts the number of documents in the collection.
              |