I’ve found a scenario where the tag counter is counting the same tag twice for a single note.
If you have a scenario where the case is different for the markdown tag in the note and the property it’s counted twice.
For example a single note with “#animal/cat” and the tag property “Animal/cat” is seen as having the tag twice.
This only happens when the case is different otherwise it’s correctly counted.
Note:
Tag list: