flowcounter simple just counts number of messages and outputs to log