Input: Sentence: 'Several cows grazing in a fenced in area'. Count the number of nouns in this sentence.
Output: 2