A counting-out game or counting-out rhyme is a simple method of 'randomly' selecting a person from a group, often used by children for the purpose of playing another game.
A selection game or rhyme counting out, a method of randomly choosing someone from a group, often used by children to play another game.