code: def __init__(self, interval=1000):
      super().__init__()
      self.count = 0
      self.last_update = 0
      self.interval = interval
  
file_path: pyqtgraph/pyqtgraph/examples/utils.py
imports: from argparse import Namespace
  from collections import OrderedDict
  from time import perf_counter
  from pyqtgraph.Qt import QtCore
label_desc: Use image node_id 1 to create a new FrameCounter object from inherited base classes: QtCore with example: obj = FrameCounter(interval)