I have a small feature request for the org.apache.commons.math.stat Frequency class. It is often useful to know the unique number of elements in a frequency table. Would you add this feature? I submitted an issue with JIRA with the code needed to make this happen, https://issues.apache.org/jira/browse/MATH-448.
Thanks