Word Count

Finishes #193 by adding a new `wordCount` operation. Please see [this comment](/template-extension/template-chrome/issues/193#issuecomment-18105185) for information on some of the details and caveats relating to its implementation.