Renamed ::all_messages to ::total_messages.

  This fixes the intent.
  minor reformat & comment update.