Input: Sentence: 'A man riding a snowboard down a hill'. Count the number of nouns in this sentence.
Output: 3