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 we can add a simple `ElasticsearchSingleNodeTest` that checks this for correctness if you have questinos I can help here easily