Input: Sentence: 'A man riding a skateboard down a ramp'. Count the number of nouns in this sentence.
Output: 3