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