Javascript String wordCount()
wordCount()
String.prototype.wordCount = function() { return this.words().length; };