Input: Sentence: 'A dog running in the snow with a Frisbee in its mouth'. Count the number of nouns in this sentence.
Output: 3