Input: Sentence: 'The train moves along the track through the countryside'. Count the number of nouns in this sentence.
Output: 3