Input: Sentence: 'A boy doing a trick with a skateboard on a ramp'. Count the number of nouns in this sentence.
Output: 4