calculate total number of nodes
getNodeNum(tree) Nnode2(tree)
tree
tree object
number
Guangchuang Yu
getNodeNum(rtree(30)) Nnode2(rtree(30))