I would liked to count the number of leaf nodes under a given 'Synset' on a hyponym tree.
For example, there are 5 leaf nodes under "immunodeficiency".
Instead of actually traversing each and every leaf node, is there a better way to get this number?
Is there any child statistics stored in nodes?
Thanks for the help.