Moved failCount reset.

This why email has the failed count from the run. Which tells users if this is a complete data set of data might be missing.