The correct answer is “IF”.
COUNT is used to provide the number (how many) of specified values.
AVERAGE is used to provide the “average” value of a series of numbers.
SUM is used to provide a cumulative value of a mathematical expression or group of expressions.