The counter is a simple block that will count redstone pulses and emit a redstone signal when it reaches a certain number. Then it starts over.
its GUI has two values - 'Counter' (the maximum number it can count up to) and 'Current' (the number it's currently at).
Once Current is equal to Counter, it emits a redstone signal. Another redstone pulse will turn off the signal and reset Counter to 0.