Input: Sentence: 'A gray air force airplane is on the runway'. Count the number of nouns in this sentence.
Output: 4