counts and returns number of nodes in the tree
the number of nodes in the tree, counting all child-nodes and their child-nodes and so on
See Implementation
counts and returns number of nodes in the tree