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: 'A photo of a TV dinner beside a computer and action figures'. Count the number of nouns in this sentence.

Ex Output:
6


Ex Input:
Sentence: 'A white fluffy dog looks out of a window with shutters'. Count the number of verbs in this sentence.

Ex Output:

1