def columnCount(self, parent=QtCore.QModelIndex()):
        return len(self.__HEADERS)
number of columns is the number of headers
dataset/ETHPy150Open shotgunsoftware/pyqt-uploader/uploader.py/ShotgunFileModel.columnCount