Input: Sentence: 'Two people ride an elephant that's been ceremonially decorated'. Count the number of nouns in this sentence.
Output: 2