diff --git a/accessible/src/base/Statistics.h b/accessible/src/base/Statistics.h index a2660a301723..0c59dd838124 100644 --- a/accessible/src/base/Statistics.h +++ b/accessible/src/base/Statistics.h @@ -56,7 +56,13 @@ namespace statistics { * Report that ISimpleDOM* has been used. */ inline void ISimpleDOMUsed() - { Telemetry::Accumulate(Telemetry::ISIMPLE_DOM_USAGE, 1); } + { + static bool firstTime = true; + if (firstTime) { + Telemetry::Accumulate(Telemetry::ISIMPLE_DOM_USAGE, 1); + firstTime = false; + } + } /** * Report that IAccessibleTable has been used.