I'd like to compare two columns and return total number of matches in Google Sheets.
COLUMN A
CAR
GIFT
RUN
DOG
COLUMN B
GIFT
GIFT
DOG
CAT
CAT
HUMAN
RUN
RUN
RUN
Comparing these two columns (where Column A is the dictionary) should return 6 (2 gifts, 1 dog, and 3 runs). It should be mentioned that blank cells should be ignored and should not count between the two columns. It should also be mentioned that column A is subject to change and more entries could be added at anytime (so I'd like to use A2:A range).

