Input: Sentence: 'Person on the beach flying a black and red kite'. Count the number of nouns in this sentence.
Output: 3