Input: Sentence: 'Airplane parts are behind a gate near the tail of a large airliner'. Count the number of nouns in this sentence.
Output: 5