Counting the number of occurances of a number if a condition is met in an adjacent column on the same row