Input: Sentence: 'A crowd of people are playing in the ocean'. Count the number of nouns in this sentence.
Output: 3