finished wordcount, exercise 4-5