Input: Sentence: 'A young girl that is having fun riding on her skateboard'. Count the number of nouns in this sentence.
Output: 4