wc: Make Counter a Monoid