parameters: (self, var, format)
docstring: Creates a new ui counter.
  
      Args:
        var: the Tkinter string variable for updating the ui
        format: the format string used to format this counter
docstring_summary: Creates a new ui counter.
docstring_tokens: Creates a new ui counter .
function: def __init__(self, var, format):
      """Creates a new ui counter.
  
      Args:
        var: the Tkinter string variable for updating the ui
        format: the format string used to format this counter
      """
      self.var = var
      self.format = format
      self.last_value = None
function_tokens: def __init__ ( self , var , format ) : self . var = var self . format = format self . last_value = None