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

Ex Input:
Sentence: 'A homeless man sleeping on a city bench'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A boy doing a trick with a skateboard on a ramp'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A dog sits on a bed next to a cellphone and a pen'. Count the number of nouns in this sentence.

Ex Output:

4