Input: Sentence: 'A surfer in a wetsuit is riding a wave'. Count the number of nouns in this sentence.
Output: 3