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

Input: Consider Input: Sentence: 'a sub sandwich wrapped in some paper and cut in half'. Count the number of nouns in this sentence.

Output: 4


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

Output: 1


Input: Consider Input: Sentence: 'a man spinning a soccer ball on his finger'. Count the number of nouns in this sentence.


Output: 4