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: 'some long boats are out on the water'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A group of people standing together talking '. Count the number of nouns in this sentence.

Ex Output:

2