Arithmomania is the obsessive need to count things, and has a little-known, but deeply rooted, presence in vampire tales. For centuries, it was believed that besides garlic and crosses, one fool-proof defense against vampires was math. To deter a vampire, one only had to throw a handful of rice or seeds and run away, as the vampire would be unable to resume the chase until he or she had counted every single grain.