getMapCopy

Gets a copy of the map representing each value with its frequency.