Input: Sentence: 'A subway train traveling down train tracks next to a street'. Count the number of nouns in this sentence.
Output: 5