code: def findLeastNumOfUniqueInts(self, arr: List[int], k: int) -> int:
      mostFreqCounter = Counter(arr).most_common()
      while mostFreqCounter and k >= mostFreqCounter[-1][1]:
          k -= mostFreqCounter.pop()[1]
      return len(mostFreqCounter)
  
label_desc: Use image node_id 1 for calling the Solution obj's underlying member method code with example usage: obj.findLeastNumOfUniqueInts(arr, k) and returns: len