Stats : Add time in index throttle to stats.

This PR adds the time spent throttling indexing to a single thread to the stats API.

Closes #7861
I think that is because the metrics that are cleared are the mean metrics. I'm not sure if the other metrics should have some way to clear them, currently unsupported by CounterMetrics