Piezo Buzzer and Stepper Motor

Is there any way of having a buzzer go off after a given amount of steps (not time)? Something like buzz every 4th step.

Only if you are controlling steps individually, which isn't very hard.