Input: Sentence: 'the man is rolling on his skateboard while wearing pads'. Count the number of nouns in this sentence.
Output: 3