question: public final int numberOfNodes ( ) { int n = 0 ; if ( root == null ) return n ; for ( Enumeration < TreeNode > e = elements ( ) ; e . hasMoreElements ( ) ; ) { e . nextElement ( ) ; n ++ ; } return n ; }
target:  Counts and returns the number of nodes