Input: Sentence: 'A person that is surfing a wave in the ocean'. Count the number of nouns in this sentence.
Output: 3