Counting teeth, and skipping pulses

dhenry is correct. I have a mechanical gear that the teeth are counted by a optical sensor. I want the gear to advance 5 teeth, but the software won't let it. My thought was that with a little board in the middle, I could have the base software only 'see' 4 pulses. I thought I might be able to just throw out the first pulse, and allow the rest to pass. The frequency of the pulses does not seem to be important, and the software doesn't even care how long the pulses take to get there (jammed hardware will run until the drive belt it gone, regardless of how long). This is to control a conveyor advancement mechanism,

I could use more than just gates, I was just trying to keep it simple if possible. However, if it takes more than a handful of chips, I might as well just use a microcontroller.

Thanks for the input though.
Jim