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

Ex Input:
Sentence: 'A parking meter in front of a car'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'Four small broccoli plants in a brown planter'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'Close up of a cat sitting on countertop in a bathroom'. Count the number of verbs in this sentence.

Ex Output:

2