Input: Sentence: 'Two yellow and blue fighter jets flying close to each other'. Count the number of nouns in this sentence.
Output: 2