code: def getHits(self, timestamp: int) -> int:
      while self.queue and timestamp - self.queue[0] >= 300:
          self.queue.popleft()
      return len(self.queue)
  
label_desc: Use image node_id 3 for calling the HitCounter obj's underlying member method code with example usage: obj.getHits(timestamp) and returns: len