Design a rolling five-minute hit counter | Apple