code: def get_var_count(self):
          
          n = c_int()
          self.library.get_var_count.argtypes = [POINTER(c_int)]
          self.library.get_var_count(byref(n))
          return n.value
docs: Return number of variables