adding flow counter as a module to track pulses and runtime