Input: Sentence: 'A big yellow train parked at a platform'. Count the number of nouns in this sentence.
Output: 2