def METHOD_NAME(jobs_count, codecov_yaml):
    with open(codecov_yaml) as file:
        data = yaml.safe_load(file)
        num_builds_tuple_list = find_list_of_key_locations_and_dicts(
            data, "after_n_builds"
        )
        for _, data in num_builds_tuple_list:
            num_builds = data["after_n_builds"]
            if num_builds != jobs_count:
                print(f"Mismatch builds count: {num_builds} (expecting {jobs_count})")
                sys.exit(1)