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

Input: Consider Input: Sentence: 'A man flying a kite at the beach while several people walk by'. Count the number of verbs in this sentence.

Output: 2


Input: Consider Input: Sentence: 'A guy on a horse on a busy city street'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'a close up of a urinal and a device next to it'. Count the number of verbs in this sentence.


Output: 0