counting pulses

This may not be your flow meter but it has an example you can you use for a basis on how to count pulses and count pulses per second.