added wordcount(c++)