def extract_freq(test_list):
  
  res = len(list(set(tuple(sorted(sub)) for sub in test_list)))
  return (res)
def similar_elements(test_tup1, test_tup2):
  
  res = tuple(set(test_tup1) & set(test_tup2))
  return (res) 