Count the entries matching the given query string, ignoring limit / from. Pairs with search when a UI needs the total number of matches alongside one page of them.
limit
from
the query string
the database to search
options to customize the search
The number of matching entries
Count the entries matching the given query string, ignoring
limit/from. Pairs with search when a UI needs the total number of matches alongside one page of them.