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