Conditions inside a loop can count objects whose properties match a rule.
Count the task objects whose done property is true, then display Completed: 2.
done
true
Completed: 2