List<ColorCount> getColorCounts() {
        return new ArrayList<>(colorCounts);
    }
Gets a copy of the list of color counts.

@return a copy of the list of color counts
src/main/java/org/apache/commons/imaging/palette/ColorGroup.java