Input: Sentence: 'A person wipes out on their surfboard in the ocean'. Count the number of nouns in this sentence.
Output: 3