Method CountAsync(CancellationToken)

Assembly: redb.Core.dll

Number of rows of the same query returns, Take and Skip included.
The providers count the filtered set and leave paging out, so Take(10).CountAsync()
used to answer with the size of the whole set. The set is counted without paging and the
page is cut from that number here, the same way for every provider.

public virtual Task<int> CountAsync(CancellationToken cancellationToken = default)