def METHOD_NAME(self) -> int:
    """Number of charts in the submission."""
    if self.charts is not None:
        return len(self.charts)
    raise ValueError("Charts have not been set yet! Invalid submission configuration.")