Input: Sentence: 'A stylized photo of a person performing a trick on a skateboard'. Count the number of nouns in this sentence.
Output: 4