create word counter (there are many things to do yet)