Return number of variables

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