[#BloombergLP-ball-AttributeCollectorRegistry-numCollectors] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/AttributeCollectorRegistry.adoc[AttributeCollectorRegistry]::numCollectors :relfileprefix: ../../../ :mrdocs: Return the number of collectors registered with this object. Note that this method is provided primarily for debugging purposes (i.e., its return value can be invalidated from another thread). == Synopsis Declared in `<ball_attributecollectorregistry.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int numCollectors() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#