Counting symbols in two columns

I am trying to determine a formula that will count the number of "flags" in one column if there is not a symbol in the second column. In the example below, there is only one flag that I want counted. Basically, the green/red/yellow symbol would cancel out counting the red flag if that makes sense.

Best Answer