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

Ex Input:
Sentence: 'Ice cream truck stopped on the side of the road'. 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 group of men that are sitting on a bench'. Count the number of nouns in this sentence.

Ex Output:

3