Don't count spaces at the end of the post as words, wordcount().