Request: count how many builds failed
Input:
success
failure
failure
jq program: [.[] | select(.result == "failure")] | length
Output:
2