#A counter module, that counts integers

ctr = 0 #initial value of counter

def reset():
  global ctr #ensures we assign to the global
  ctr = 0    #resets counter to 0

def next():
  global ctr
  ctr = ctr + 1
  return ctr



