Input: Sentence: 'Two animals walking through tall grass in the woods'. Count the number of nouns in this sentence.
Output: 3