Completed count_words and return_change