Input: Sentence: 'there is a black cat that is walking through a grass field'. Count the number of nouns in this sentence.
Output: 3