Input: Sentence: 'An outdoor cafe with umbrellas overlooking the water'. Count the number of nouns in this sentence.
Output: 3