count words in books for second assignment