Input: Sentence: 'A kite with very long tail flying in the sky'. Count the number of nouns in this sentence.
Output: 3