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

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: 'a close up of a person holding a sandwich'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A guy on a horse on a busy city street'. Count the number of nouns in this sentence.

Ex Output:

4