Small script to count words