Input: Sentence: 'a plate of peanut butter and jelly sandwiches'. Count the number of nouns in this sentence.
Output: 5