def METHOD_NAME(self, table_name, idx):
    try:
        self.cur.execute("select count(*) from {0}".format(table_name))
        result = self.cur.fetchone()
        self.old_result_cnt[idx] = result[0]
        print "INFO: {0} old result rows -- {1}".format(table_name, self.old_result_cnt[idx])
    except mysql.connector.Error as err:
        print(err);
        exit("ERROR: failed to import srs data")