Problem Statement  
There are several pictures, and each of them has a label. Some of the pictures are the same, and have equal labels. An exhibition is considered bad if and only if there are K or more pictures with the same label. A good exhibition is one that is not bad. You are given a String[] labels, where each element is the label of a single picture. Return the maximum number of pictures you can include in a good exhibition.  
Definition  
 
Notes  
  Labels are case sensitive.  
Constraints  
  labels will contain between 1 and 50 elements, inclusive.  
  Each element of labels will contain between 1 and 50 characters, inclusive.  
  K will between 2 and 100, inclusive.  
  Elements of labels will contain only the letters ('a''z' and 'A''Z').  
Examples  
0)  
 
1)  
 
2)  
 
3)  
 
4)  
