Since my change to fix bug 19931, repeat counts are incorrect and keep rising even though there was output between duplicate messages.
Created attachment 28186 [details] Proposed Patch
Landed in r41365.