Input: Sentence: 'People are boarding and departing a train at a station'. Count the number of nouns in this sentence.
Output: 3