Input: Sentence: 'A large elephant in a tall grass field'. Count the number of nouns in this sentence.
Output: 3