Input: Sentence: 'The train is traveling down the railroad tracks'. Count the number of nouns in this sentence.
Output: 3