nodeCount

This function go through tree and counts children. Root element is not counted.

Return

All child and nested child count.