Implement a web counter using a circular array to store the number of hits per second.