I want, and need, to get list of tickets, agents, etc, with a method to get total list.
I get 30 tickets, if I want to know I need to call again and again same method, then count list. A better method is a resource, tickets/count, contacts/count, with filter option, or better in the same answer get: Tickets ['total' = 29, 'page' = 1, 'next_page' = ] for this specific view as Zendesk.
We don't have these APIs currently, but we do intend to build them (as a separate endpoint) later this year.
about 3 years ago
It is necessary to have the same method for tickets API, filters, views, etc. If I get all tickets, we need to get the same all tickets count.
And with filter:
Then I can make pagination and only request 30, page 1, etc.