Input: Sentence: 'A couple of boats are docked in the water'. Count the number of nouns in this sentence.
Output: 3