def METHOD_NAME(results) -> None:
    stats = {
        "error": 0,
        "skip": 0,
        "pass": 0,
        "warn": 0,
        "total": 0,
    }
    for r in results:
        result_type = interpret_run_result(r)
        stats[result_type] += 1
        stats["total"] += 1
    with TextOnly():
        fire_event(Formatting(""))
    fire_event(StatsLine(stats=stats))