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

Input: Consider Input: Sentence: 'Three zebra are grazing on grass in an open field'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'Man poses for picture with his dog while sitting on a bench'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'half of a sandwich in a black tray on a table'. Count the number of nouns in this sentence.


Output: 4