Input: Sentence: 'A man riding up the side of a dry pool on a skateboard'. Count the number of nouns in this sentence.
Output: 4