After admittedly minimal research, it is clear that the Chinese, Hungarians, Poles and a number of others believe that the best way to escape a pursuing vampire is to scatter poppy seeds on the ground and it has to pick them up. Similarly the Chinese believed that filling a casket with rice would prevent the creature from rising at night because it would never finish grain counting before sunrise. (I am assuming you have heard that vampires have to get out of the light during the day.) I'm trying to figure out the root of this superstition and why this bizarre counting belief seems to exist in geographically separate communities. Even the character on sesame street was made to count so I've got to figure the legend is both widespread and based on something historical.