Input: Sentence: 'A bunch of surfers carrying their boards into the ocean'. Count the number of nouns in this sentence.
Output: 4