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 red open fire hydrant spewing water from it'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A surfer getting up on his board in the water'. Count the number of nouns in this sentence.


Output: 3