Input: Sentence: 'a kid is flying a kite in a clearing'. Count the number of nouns in this sentence.
Output: 3