when --rerun is specified print the rerun number before the test
Merge pull request #8054 from pbrady/rerun_counter

Print rerun counter