Input: Sentence: 'The front part of a train driving down some tracks'. Count the number of nouns in this sentence.
Output: 3