protected int getChildCount ( ) { int num = 0 ; LazyNode token = child ; while ( token != null ) { num ++ ; token = token . next ; } return num ; }
Count the children attached to this token . Be aware that this requires actual linked list traversal!