So we want to display a list of categories and there articles count.
example:
main category name is master and it have multiple Childs
so structure we want is like
The above example will not output any empty categories. Getting the data from empty categories is not possible with Articles Anywhere, as is focuses on the articles and gets the data from that point upwards.
If the Master category also contains articles, then you could add an {if} tag to ignore the output when it is that category.