def get_classes(y) -> int:
    """
    Get the total number of classes.

    Args:
        y : The labels list of the data.

    Returns:
        int: Number of total classes
    """

    return int(y.shape[1])