I need a formula that will take:

Countif(a2:a7="EA" AND b2:B7="set")

Obviously this isn't a valid formula but trying to accomplish this.