Input: Sentence: 'A park with not much shade and a kite flying'. Count the number of nouns in this sentence.
Output: 3