Input: Sentence: 'A group of people walking towards an airplane'. Count the number of nouns in this sentence.
Output: 3