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

Input: Consider Input: Sentence: 'A bunch of planes flying close with trails of smoke'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'A cat laying on top of a bench wearing a collar'. Count the number of verbs in this sentence.

Output: 2


Input: Consider Input: Sentence: 'Two horses are walking a carriage through the streets'. Count the number of verbs in this sentence.


Output: 1