Fixed an error that would cause the word-count recipe to crash