Input: Sentence: 'Outdoor subway train pulling into an empty station'. Count the number of nouns in this sentence.
Output: 3