I just realized Google Doc’s Word Count calculates this. I’m surprised to learn vocabulary is not a factor.