Input: Sentence: 'Multiple goats stand atop a grassy hill with a tree'. Count the number of nouns in this sentence.
Output: 3