Simplified the DictionaryByOccurrences getter