def METHOD_NAME(self, message: Message, agent_type: TodAgentType):
    if "text" not in message:
        return
    if agent_type == TodAgentType.GOAL_GROUNDING_AGENT and len(
        message["text"]
    ) > len(STANDARD_GOAL):
        # Only count a conversation as started if there is a goal.
        self.convo_started = True
    for handler in self.handlers:
        metrics = self._handle_message_impl(message, agent_type, handler)
        if metrics is not None:
            for name, metric in metrics.items():
                if metric is not None:
                    self.add(name, metric)