Update message counts on each page.