Input: Sentence: 'A plane sits on the tarmac ready for takeoff'. Count the number of nouns in this sentence.
Output: 3