def METHOD_NAME(self):
    data = self._cur.execute('PRAGMA table_info(\'item\')').fetchall()
    try:
        return next(d[1] for d in data if 'poscount' in d[1])
    except StopIteration:
        raise Exception('Failed to find column containing position counts in %s' %
                        self._db_path)