Implementing Riak 1.4 counters.