Items to count.
Query whose filters, projections and distinct are applied.
Optionaloptions: InMemoryQueryItemsReaderOptions<TItem>
Comparison options, see InMemoryQueryItemsReaderOptions.
the number of matching items, the length of the list without filters.
Counts the items of a list matching a payload, ignoring its sorts and pagination: the total count reader of the
PaginationExtension, so the count agrees with the pages of queryItems. Withpayload.distinctthe duplicates, found onpayload.projectionswhen given, are not counted.