counter: simplify target-counter, add support for negatives and keyword none
add mocha unit tests