Function for creating a counter
Test to show how parsers can be fed directly