Have the assault rifle which is acquired during the second part of the game. Jump on a car and wait until the zombies are next to the car. Then, just shoot their heads. Even if you get killed while doing this, your head count does not reset as long as you do not kill a zombie by any other method except a headshot.