def METHOD_NAME(self, parent=None):
    """Returns the number of specs in the model.
    Args:
        parent (QModelIndex): Not used (because this is a list)
    Returns:
        Number of rows (available specs) in the model
    """
    return len(self._spec_names)