Input: Sentence: 'A steam engine train rumbles down the tracks'. Count the number of nouns in this sentence.
Output: 4