def get_shape_size(shape):
    """
    get the number of element from the shape

    Parameters
    ----------
    shape: output shape

    Returns
    -------
    total_number: the number of element of the shape
    """
    total_number = 1
    for val in shape:
        total_number = total_number * val

    return total_number