create wordcount c++