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

Ex Input:
Sentence: 'A person on a field swinging a tennis racket'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'Picture of an outside spot with a transport'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'a kitchen cluttered with cups and house plants'. Count the number of nouns in this sentence.

Ex Output:

4