BNNODES

BNNODES(t) provides the number of nodes in tree t.