Input: Sentence: 'A couple is walking through a carnival and passing a large assortment of stuffed animals'. Count the number of nouns in this sentence.
Output: 4