Input: Sentence: 'People are wind surfing on the beach near a city'. Count the number of nouns in this sentence.
Output: 4