Input: Sentence: 'row of colored umbrellas next to a body of water'. Count the number of nouns in this sentence.
Output: 4