docs: public MetricDatum withCounts(Double... counts) {
          if (this.counts == null) {
              setCounts(new com.amazonaws.internal.SdkInternalList<Double>(counts.length));
          }
          for (Double ele : counts) {
              this.counts.add(ele);
          }
          return this;
      }