This method returns a list (std::vector) with node counts organized by node type. It will improve the performance of Tree::print (which currently uses a slow Tree iterator to count nodes as oppose to bit-mask counting in Tree::nodeCount) and can optimize node allocations in classes like openvdb::tree::NodeManager.