Input: Sentence: 'A group of sheep that are in the grass'. Count the number of nouns in this sentence.
Output: 3