What does the COUNT IF function do in Excel?

A ) Count values matching criteria ✅

B ) Count empty cells

C ) Adds numbers

D ) Count all values