[#BloombergLP-balm-MetricSample-numGroups]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/MetricSample.adoc[MetricSample]::numGroups
:relfileprefix: ../../../
:mrdocs:

Return the number of record groups (i&period;e&period;, `MetricSampleGroup` objects) that are contained in this object&period;

== Synopsis

Declared in `&lt;balm&lowbar;metricsample&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
numGroups() const;
----

== Return Value

number of record groups in this object


[.small]#Created with https://www.mrdocs.com[MrDocs]#
