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

Ex 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.

Ex Output:
2


Ex Input:
Sentence: 'A man riding his surfboard through the waves'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A man that is holding a frisbee in his hand'. Count the number of nouns in this sentence.

Ex Output:

3