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

Ex Input:
Sentence: 'Two orange cats playing and fighting on a couch'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A baseball player prepares to catch a ball'. Count the number of verbs in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A traffic light showing yellow and green on a pole in the city'. Count the number of verbs in this sentence.

Ex Output:

1