code: def uniqueOccurrences(self, arr: List[int]) -> bool:
      c = collections.Counter(arr)
      return len(c) == len(set(c.values()))
  
label_desc: Use image node_id 1 for calling the Solution obj's underlying member method code with example usage: obj.uniqueOccurrences(arr) and returns: unknown