public Task<int> CountAsync(Expression<Func<T, bool>> filter, CancellationToken cancellationToken)
Returns:
Task<int>

Parameters

filter Expression<Func<T, bool>>
cancellationToken CancellationToken
In this article