Get the current number of messages in chat history.
This is a method of the Agent class in the agent module.
def get_history_size() -> int