So I initially read the question as “count the number of times ‘overusedwords’ were used” and I wrote this:
let countOverusedWords = storyWords.filter(x => overusedWords.includes(x)).length;
which equals 8. I know it doesn’t tell you how many times each ‘overusedword’ was used, but to count the total, would this be a good way to write it? Thanks.