Program for count words