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

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

Output: 4

Input: Consider Input: Sentence: 'A tennis player is trying to hit the ball'. Count the number of nouns in this sentence.

Output: 3

Input: Consider Input: Sentence: 'A couple of women pointing at the side of a green bus'. Count the number of verbs in this sentence.
Output: 1