Atomic Counters and Accumulators