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