In this task, you need to count the number of nouns/verbs in the given sentence.

Input: Consider Input: Sentence: 'A small kitchen knife on top of a sliced carrot'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'Several zebras and other animals grazing in a field'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A living room and a dining room with all the standard furnishings'. Count the number of nouns in this sentence.


Output: 5