Input: Sentence: 'Many people wait on surfboards in the calm water for a wave'. Count the number of nouns in this sentence.
Output: 4