binary tree get number of nodes of a level