Definition: In this task, you need to count the number of nouns/verbs in the given sentence.
Input: Sentence: 'an office desk with a banana on top and chair pulled away'. Count the number of nouns in this sentence.
Output:
5