Input: Sentence: 'A young child is sitting on the ground flying a kite'. Count the number of nouns in this sentence.
Output: 3