Records child number on click