We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
Counts the number of available items based on a query. The query
optionally defines any filtering to use through
Query.getFilter(). The query also contains information about
paging and sorting although that information is generally not
applicable for determining the number of items.
Parameters:
query - the query that defines which items to count