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

Input: Consider Input: Sentence: 'A train on a track in the middle of a neighborhood'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'A person is lying on the luggage claim conveyor belt'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A woman with a slice of pizza in a plate'. Count the number of verbs in this sentence.


Output: 0