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

Input: Consider Input: Sentence: 'A man in a diner holding two baskets of sandwiches'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'A bid walking on a stream of water next to green plants'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A person kneeling down next to a  white horse'. Count the number of verbs in this sentence.


Output: 1