If you are looking to beemind your wordcount on a document, you will be wanting the official Beeminder integration, perhaps confusingly also named "URLminder".
This repo is a sample app that connects to Beeminder via oAuth and set up a goal to beemind the number of words you publish at one or more publicly accessible URLs.
This is meant as an educational sample that you use as a basis for other Beeminder integrations, like Beeminding a Twitter feed, your blog's Atom feed, other structured data on the web, or anything else you can think of.
If you publish/fork an integration, tell us about it! We'll collect them in some sort of central place so other Beeminders can discover them and use them.
You can also get started on an integration easily by using the OmniAuth strategy for Beeminder.