public void setCounts(java.util.Collection<Double> counts) {
        if (counts == null) {
            this.counts = null;
            return;
        }

        this.counts = new com.amazonaws.internal.SdkInternalList<Double>(counts);
    }
public void setCounts ( java . util . Collection < Double > counts ) { if ( counts == null ) { this . counts = null ; return ; } this . counts = new com . amazonaws . internal . SdkInternalList < Double > ( counts ) ; }
<p>
Array of numbers that is used along with the <code>Values</code> array. Each number in the <code>Count</code>
array is the number of times the corresponding value in the <code>Values</code> array occurred during the period.
</p>
<p>
If you omit the <code>Counts</code> array, the default of 1 is used as the value for each count. If you include a
<code>Counts</code> array, it must include the same amount of values as the <code>Values</code> array.
</p>

@param counts
Array of numbers that is used along with the <code>Values</code> array. Each number in the
<code>Count</code> array is the number of times the corresponding value in the <code>Values</code> array
occurred during the period. </p>
<p>
If you omit the <code>Counts</code> array, the default of 1 is used as the value for each count. If you
include a <code>Counts</code> array, it must include the same amount of values as the <code>Values</code>
array.