[#BloombergLP-balm-MetricSample-numRecords] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/MetricSample.adoc[MetricSample]::numRecords :relfileprefix: ../../../ :mrdocs: Return the total number of records in this sample (i.e., the sum of the lengths of all the appended record groups). == Synopsis Declared in `<balm_metricsample.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int numRecords() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#