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

Input: Consider Input: Sentence: 'A person smiles as she stands on a skateboard in a crowd with a photographer nearby'. Count the number of verbs in this sentence.

Output: 2


Input: Consider Input: Sentence: 'A person is walking with their dog in a backpack in the park'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'A kitchen sink in a hotel room'. Count the number of verbs in this sentence.


Output: 0