human
Write a function to extract the number of unique tuples in the given list. Here is a solution in Python:
assistant
#Here is the Python program you requested.
 def extract_freq(test_list):
  res = len(list(set(tuple(sorted(sub)) for sub in test_list)))
  return (res)