Input: Sentence: 'An airplane in the air on an open field'. Count the number of nouns in this sentence.
Output: 3