reset counter inside route