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

Ex Input:
Sentence: 'A baseball game in progress with the batter in the middle of the swing'. Count the number of nouns in this sentence.

Ex Output:
6


Ex Input:
Sentence: 'Two people standing next to a huge wall looking at their cell phones'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'a black and white dog laying on the ground with a frisbee'. Count the number of nouns in this sentence.

Ex Output:

3