I also would be super interested in this. It gives a good overview of the importance of words in a text. esp. in translating manuals, being aware of often used words can help with finding a good translation for them before actually starting the translation process.
Are there scripting guides for InDesign to help with writing such a tool? You make it sound that it should not be a big task.