Input: Sentence: 'Two men in wet suits with surfboards on the beach'. Count the number of nouns in this sentence.
Output: 4