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

Ex Input:
Sentence: 'Guys in the woods are looking at their phones, probably trying to use a gps feature'. Count the number of nouns in this sentence.

Ex Output:
5


Ex Input:
Sentence: 'a person eating a hot dog next to other people'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'a woman jumping up while hitting a tennis ball'. Count the number of verbs in this sentence.

Ex Output:

2