Added wordcount code