Input: Sentence: 'A cat standing in the grass on a lawn'. Count the number of nouns in this sentence.
Output: 3