A counter can track how many array values satisfy a condition. Increase it only when the current value matches the rule.
Count the temperatures that are at least 20, then display Warm days: 3. Use a loop and an if statement.
20
Warm days: 3
if