Wiktionary
tinker, tailor
n. (context games English) A children's counting-out game.
Wikipedia
Tinker, Tailor
"Tinker Tailor" is a counting game, nursery rhyme and fortune telling song traditionally played in England, that can be used to count cherry stones, buttons, daisy petals and other items. It has a Roud Folk Song Index number of 802. Its American version is commonly used by children for "counting out," e.g. for choosing who shall be "It" in a game of tag.