Input: Sentence: 'A woman riding a surfboard on top of a wave in the ocean'. Count the number of nouns in this sentence.
Output: 5