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

Ex Input:
Sentence: 'a street sign is displayed on a nice summer day'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'Derek Jeter approaches the plate in a baseball game against the Giants'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A pony show is taking place on children's play mats'. Count the number of nouns in this sentence.

Ex Output:

6