Input: Sentence: 'a person standing in a field flying a kite'. Count the number of nouns in this sentence.
Output: 3