Input: Sentence: 'A person on a snowboard in the air doing a trick'. Count the number of nouns in this sentence.
Output: 4