StatusMessageCounter
class StatusMessageCounter
A class responsible for counting the occurrences of different CommonStatusMessage
types.
This class provides a way to track how many times each specific status message has been encountered. It uses a mutable map internally to store the counts.