Add integration test for word count

It turns out that not spitting out the word count is really nasty for the API.
Since we don't have any API tests at the moment we verify that word count
is spat out in the output page.  It is better than nothing.

Change-Id: I61064b7ababbaad67ed726ed345d2d4bcb777b89