Input: Sentence: 'some long boats are out on the water'. Count the number of nouns in this sentence.
Output: 2