Input: Sentence: 'A person flys a large green and black kite'. Count the number of nouns in this sentence.
Output: 2