Folklore across Europe and beyond says seeds, holes, knots and salt could trap vampires, witches and spirits by forcing them to count until dawn.