I am working on S&OP and we need to show the user's non-completed tasks number in a badge (decorator). In order to do that we need to get an actual info from Jam every few seconds. Right now, we're doing this by getting all the non-completed tasks for the user and getting the length of the task array. It's working, but it creates a lot of network traffic and is slow. We don't need all the tasks - just their number.
I've checked the API documentation, but I couldn't find what I need.
Is there any API that returns only the number of the non-completed tasks for a certain user?