Input: Sentence: 'A man on a skateboard performing a trick'. Count the number of nouns in this sentence.
Output: 3