Unable to get tag count per category

When requesting a topic list filtered by category and tag, the tag count returned in the json is the total number of topics with this tag, not filtered by the category.

E.g. there are 13 topics in the bug category tagged badges .
Yet the json data for https://meta.discourse.org/tags/c/bug/1/badges.json returns 127, the total amount of topics with the tag badges

image

Is there any way to get the number of topics with a specific tag within a specific category?