Input: Sentence: 'A family plays with a Frisbee on cobblestones near the water'. Count the number of nouns in this sentence.
Output: 3