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

Ex Input:
Sentence: 'A puzzle photo of man swinging a baseball bat'. Count the number of nouns in this sentence.

Ex Output:
5


Ex Input:
Sentence: 'A white and grey dog in market area next to bananas and strawberries'. Count the number of nouns in this sentence.

Ex Output:
5


Ex Input:
Sentence: 'A woman is sitting in the grass next to her red bike'. Count the number of verbs in this sentence.

Ex Output:

1