I think Tom Lewis must have based it on a much earlier childrens rhyme, as I remember singing and (for want of a better word) dancing this in the playground of my infant school along with other skipping and clapping songs such as oranges & lemons, the farmer wants a wife, ring-a-ring-a-rosies and long legged sailor.