wordcount code added