I have a JSON object that looks like this:
[{'key1': 'yes', 'key2': 'yes', 'key3': 'yes'},
{'key1': 'yes', 'key2': 'no', 'key3': 'yes'},
{'key1': 'yes', 'key2': 'null', 'key3': 'yes'}]
I am trying to count the occurrences of Key1 when the value of Key2 is not yes and I can use that to rank Key1 by the appearance of the value yes in Key2.