Input: Sentence: 'A horse grazes from grass next to Teton Village'. Count the number of nouns in this sentence.
Output: 2