Describe the bug
Issue with tag api counting tags down from a root
Screenshots
these are example i ran for myself and are a snapshot of my database.
Post tags applied. you can see some posts have been applied to more than one tags.
| title |
tags |
| Onboarding |
["Onboarding"] |
| Environment Variables |
["Developers","Onboarding","Backend"] |
| [DEV] DB Schema Changes |
["Database","Backend"] |
| Frontend Setup |
["Frontend"] |
| [DEV] Encountering Migration Update: Multiple Heads |
["Database"] |
| [DEV] Database Handling and Migration Scripts |
["Developers"] |

In this database example counts should be:
- team: 5 (all from children)
- developers: 5 (4 from children - one direct to itself)
- backend: 3 (1 only from children - 2 direct)
- frontend: 1
- onboarding: 2
Describe the bug
Issue with tag api counting tags down from a root
Screenshots
these are example i ran for myself and are a snapshot of my database.
Post tags applied. you can see some posts have been applied to more than one tags.
In this database example counts should be: