1 2 3
def extract_freq(test_list): res = len(list(set(tuple(sorted(sub)) for sub in test_list))) return (res)