I believe the counter resets whenever you save or get too close to one of the towers.