Implemented counters for message data used in debug