API: Get amount of tasks matching the filter

How can I query the number of due and overdue tasks of a user via the API?

Welcome! :wave:

There are no dedicated endpoints for counting tasks, you’ll need to use a filter, and check how many tasks were returned.