Input: Sentence: 'A snowboarder is in the air at a snowboarding competition'. Count the number of nouns in this sentence.
Output: 4