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: 'Two people on a motorcycle with another motorcycle in background'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'A public restroom with several urinals and stalls'. Count the number of nouns in this sentence.


Output: 3