method Summary.prototype.getSampleCount Summary.prototype.getSampleCount(labels?: Readonly<Record<string, string>>): number Gets the current sample window size. Parameters optional labels: Readonly<Record<string, string>> Label values keyed by label name Return Type number The number of samples in the window