def getNumberofVariables(self, fh, spssio):
        """ This function reports the number of variables present in a data file."""
        retcode = spssio.spssGetNumberofVariables(fh, self.numVarsPtr)
        return retcode, self.numVars.value
 This function reports the number of variables present in a data file.
recipes/Python/577650_Python_reader_for_spss_sav_files/recipe-577650.py