Input: Sentence: 'A frisbee is in straight shot of a photographer as the thrower watches'. Count the number of nouns in this sentence.
Output: 4