I’d rather use file.etags
in such a query, as your query would split and count every part of a nested tag.
Look at the output of this query:
```dataview
TABLE file.tags, file.etags
WHERE contains(string(file.etags), "/")
LIMIT 5
```
Notice how the first variants splits all the nested tags.
So here is a similar query showing the tags with their count:
```dataview
LIST count
FLATTEN file.etags as tag
GROUP BY tag
FLATTEN length(rows) AS count
WHERE count > 10
```
Here you could change which count of tags you want to see in the last line.
Also note that if you truly want a static count of tags, you could consider calling this query from within a Templater template, and insert the result into a note somewhere.