import time


def _retry_info(message: dict) -> dict:
    """Return the retry attempt information.

    Args:
        message: The message to be retried.

    Returns:
        The retry attempt information.
    """
    info = message.get("_retry", {})
    info.setdefault("count", 0)
    info.setdefault("start_time", int(time.time()))
    return info