Input: Sentence: 'Young skateboarder preparing to perform while others look on'. Count the number of nouns in this sentence.
Output: 2