Course · Section 11: Working With Arrays · Lecture 160: The reduce Method
Implement `countCompleted(todos)` returning how many todos have `done: true`.
+ 1 hidden test run on Submit.
Count completed todos directly from the list each render, so the number can never disagree with the data.
Run your code to see results.