BMAXNODE

BMAXNODE(t) provides the maximum node number in tree t.