PCMTreeNumNodes function

Number of all nodes in a tree