code: def get_errors(audit_results):
          
          errors = {"errors": [], "total": 0}
          if audit_results:
              errors["errors"].extend(audit_results)
              for i in audit_results:
                  for _node in i["nodes"]:
                      errors["total"] += 1
          return errors
docs: Args:
  
              audit_results: results of `AxeCoreAudit.do_audit()`.
  
          Returns:
  
              A dictionary with keys "errors" and "total".