Input: Sentence: 'Two men are surfing next to each other'. Count the number of nouns in this sentence.
Output: 1