def _failure_count(hits):
    if "FAILURE" in hits:
        return hits["FAILURE"]
    else:
        return 0
dataset/ETHPy150Open openstack-infra/elastic-recheck/elastic_recheck/cmd/uncategorized_fails.py/_failure_count/original