COUNTIF(range,criteria)
COUNTIF function counts the number of cells in the given @range that meet the given @criteria.
COUNT , SUMIF