Input: Sentence: 'A snowboarder does a trick while jumping through the air'. Count the number of nouns in this sentence.
Output: 3