input: Write a python function to count and delete duplicates in a list.
  assert count_delete_duplicates([1, 2, 3, 1, 2, 4, 5, 6, 7, 8, 1, 2, 3])==(5, [1, 2, 3, 4, 5, 6, 7, 8])
  assert count_delete_duplicates([10, 20, 30, 10, 40, 20])==(2, [10, 20, 30, 40])
  assert count_delete_duplicates([5, 5, 5, 5, 5, 5])==(5, [5])
output: def count_delete_duplicates(lst):
      unique_elements = []
      duplicates_count = 0
      seen = set()
      
      for item in lst:
          if item not in seen:
              seen.add(item)
              unique_elements.append(item)
          else:
              duplicates_count += 1
              
      return duplicates_count, unique_elements