Count Max Frequency
Find the sum of frequencies of all elements that attain the maximum frequency in an array. Compute frequencies, find the max frequency value, then sum frequencies equal to that max.
Find the sum of frequencies of all elements that attain the maximum frequency in an array. Compute frequencies, find the max frequency value, then sum frequencies equal to that max.