Implemented children counter