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
if we use millis then we really should make sure that time doesn't go backwards!