question: public int numberOfReplies ( final Resource comment ) { final Iterator < Resource > children = comment . listChildren ( ) ; int size = 0 ; while ( children . hasNext ( ) ) { children . next ( ) ; size ++ ; } return size ; }
target:  Get the number of replies for a given comment.