Included example of stateful counter for sim
Sim uses logger