Input: Sentence: 'Woman in pink shirt holding a frisbee in a park'. Count the number of nouns in this sentence.
Output: 4