Removing a lie, for registtering a counter function you need to use
counter()