To discover how many cells in a range contain values that meet a single criterion, use the _ function.
COUNTIF
COUNTA
SUMIFS
COUNT