Count the messages from the last received message - refs #7338