add onCount event

Create onCount event to respond to the increment/decrement of the counter, regardless of safe/max/over status.

I use this to update a counter of the number of SMS messages that will be sent based on the number of characters, i.e. <= 160: 1 message; <= 306: 2 messages; <=459: 3 messages.