The question at https://leetcode.com/problems/unique-number-of-occurrences/ but with different examples.