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

Ex Input:
Sentence: 'A baseball player holding  bat while standing on a field'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'Brown bear sitting on the ground eating a stick'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'a little boy riding on a skate board'. Count the number of nouns in this sentence.

Ex Output:

3