Input: Sentence: 'an office desk with a banana on top and chair pulled away'. Count the number of nouns in this sentence.
Output: 5