Method CountAsync
CountAsync(CancellationToken)
Counts the number of documents.
[Obsolete("Use CountDocumentsAsync instead.")]
Task<long> CountAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenThe cancellation token.