Input: Sentence: 'A young lady is playing Frisbee with her dog as two guys look on'. Count the number of nouns in this sentence.
Output: 3