when you want to count the tag naming.
https://docs.mendix.com/refguide/metrics-increment-counter
https://micrometer.io/docs/concepts#_tag_naming
What I do to manage a counter is:
Create variable, where I set the name of the counter and set the start value.
Change variable, where I set the increment/decrement of the counter.
I hope this can help you