Copy Ryan B's Markdown word counter from tools repo