def rowCount(self, parent=QtCore.QModelIndex()):
        return len(self.files)
number of rows is the number of files
dataset/ETHPy150Open shotgunsoftware/pyqt-uploader/uploader.py/ShotgunFileModel.rowCount