setting intial num words to 0