made counter also emit when its value changes
Merge pull request #5 from Pomax/listening

made counter also emit when its value changes