Input: Sentence: 'Various people in the ocean swimming and on surfboards'. Count the number of nouns in this sentence.
Output: 4