Anyone have any experience with using any word count software - such as Practicount?

I'm looking for an API that will do counts of words in a .DOC file.