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
it seems like some stuff is missing here to be cleaned ? maybe I miss something but why do we only clear those two?