Input: Sentence: 'A person on a skateboard jumping on a fence'. Count the number of nouns in this sentence.
Output: 3