Input: Sentence: 'there are five people on surf boards in the ocean'. Count the number of nouns in this sentence.
Output: 4