Input: Sentence: 'Two people riding a surfboard in the open waves'. Count the number of nouns in this sentence.
Output: 3