That version doesn't have the DataSubscriber, so you will have to add a BasicLabel to the form that reads the counter value. You can then add the TextChanged event handler to that BasicLabel. If you don't want it to display, you can set the Foreground color to same thing as the form background color to make it invisible.
In the TextChanged event handler, use the code from above