BNBRANCHES

BNBRANCHES(t;x) provides the number of branches below nodes x in tree t (0 if n is a terminal node).