Add support for generating multiple messages when we have stats with multiple
timestamps.