Many cultures believe that spirits like to count coloured thread and that if they get involved with counting then they will leave the humans alone or get so engrossed they forget what they were originally doing!
This is a spirit trap spell also using herbs as offerings and a balloon representing air for guiding the spirits back to their real home.