Input: Sentence: 'Two bi planes flying across a blue sky'. Count the number of nouns in this sentence.
Output: 2