If a console message has arguments, and they are the same, that message will not be shown multiple times. See the manual test in WebCore/manual-test/inspector/error-warning-count.html
Created attachment 23759 [details] Proposed patch
Committed revision 36861.