Input: Sentence: 'Snowboarder in flight after a very successful takeoff'. Count the number of nouns in this sentence.
Output: 3