Am I missing something or wouldn't this be much (much) more efficient to do in SQL with a single parameterized query?
I think this may be better refactored as a post about async / await and Promise.all().
From the description "like to render a summary of published posts, with the post title, author, number of times it’s been viewed, and a fun fact about that view count number" I don't even see why you'd need a parameter.
/sarcasm