Input: Sentence: 'A white airplane drops its landing gear preparing to land'. Count the number of nouns in this sentence.
Output: 3