Break out summary message stats for templates.

This is another small step toward making summary message templates more
useable.