Input: Sentence: 'a man performs a trick on a skate board as people look on'. Count the number of nouns in this sentence.
Output: 5