def compute_set_of_multivalue_lengths(dict_frame):
    """
    Returns the set of lengths of multivalues in dict_frame.
    """
    return {variable.value_len(value)
            for variable, value in dict_frame.items()
            if variable.is_multivalue(value)}