Input: Sentence: 'Man on surfboard tackling wave in open ocean'. Count the number of nouns in this sentence.
Output: 4