Input: Sentence: 'A very nice looking train on the tracks'. Count the number of nouns in this sentence.
Output: 2