add wordcount module
Function to count words in a string....