Input: Sentence: 'Sheep grazing in a fenced off grass field'. Count the number of nouns in this sentence.
Output: 3