I have a node hierarchy like following, where nodes c1..c6 are of type :Category, and their sub-nodes i1..i7 are of type :Item.
What I need to obtain is the number of Items in each Category, including their sub-categories. The output should look lik...