working Counter demo on v0.6