Keep a global messages count too.