Input: Sentence: 'A small boat that is pulling a larger boat'. Count the number of nouns in this sentence.
Output: 2