Unique Number Of Occurrences Leetcode