Input: Sentence: 'Cows outside that are grazing on the grass around them'. Count the number of nouns in this sentence.
Output: 2