This service provides count-up kind counter, the initial value is 0.
trigger: Any. Event to increase the counter.
reset: Boolean. True value to reset the counter.
out: Any. The current value of counter.
This service provides count-down kind counter, the initial value is 0.
trigger: Any. Event to decrease the counter.
reset: Boolean. True value to reset the counter with value of orig.
orig: Integer. The original value of counter.
hit: Boolean. When and only when the value of counter decreas to 0, hit output true.