Input: Sentence: 'Two people holding surf boards walking to the water'. Count the number of nouns in this sentence.
Output: 4