Fix word count analysis by trimming white space ( Refs #14 )