word count. Program 6