JWord > Tutorial > Word count

The example shows you how to open a document and count number of words.