Input: Sentence: 'Three tractors being hauled on a large trailer'. Count the number of nouns in this sentence.
Output: 2