fix examples - broke with latest webserver changes. Counter functions can now be chained.