Input: Sentence: 'A young boy standing on a beach flying a colorful kite'. Count the number of nouns in this sentence.
Output: 3