Input: Sentence: 'Tail end of an airplane waiting on the tarmac'. Count the number of nouns in this sentence.
Output: 4