Design a Distributed Counter — Medium System Design Problem