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