I have a list like this:

![enter image description here](https://i.stack.imgur.com/YqyZR.png)

I want to count the names (column B) that have value in column A like a or b or ... also this pair value is in range (F,G columns) .

How to do it?

For example:  

count of b mark values is 4, but I am trying to count b mark except (b reza) , because the b reza is in the range F,G;

Count of b is 3.  

Count of b (special b) is 1.