Input: Sentence: 'Two trains that are sitting on train tracks'. Count the number of nouns in this sentence.
Output: 3