API labels with_counts for group labels

Hello,

I am trying to get the number of open/closed issues for each label in my project via REST API (using excel VBA but that’s irrelevant).
I have a problem that, when I fetch the labels via the

https://gitlab.example.com/api/v4/projects/1/labels?with_counts=true

if the label is a group label,
the count fields are returning total number of issues for the label for each projects. I need only the issues for the current project I am fetching from. Is that the bug or there is some setting to set it correctly?

    "open_issues_count": xxx,
    "closed_issues_count": yyy,

Regards