'Word count of Markdown cells in Jupyter Notebook

Is there a way to perform a word count of only markdown cells in Jupyter Notebook, and if possible within the notebook itself? Thanks

Edit: Appears that doing it within the notebook is rather complicated, I'm happy with just with an external solution



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source