Designing Distributed Counter

How do we create a counter which will be shown like a hit counter?