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

Ex Input:
Sentence: 'Old man in a white outfit swinging at a tennis ball with a racket'. Count the number of nouns in this sentence.

Ex Output:
5


Ex Input:
Sentence: 'A walking sign glows underneath two street signs'. Count the number of verbs in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'a green bus is sitting by a curb'. Count the number of nouns in this sentence.

Ex Output:

2