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

Ex Input:
Sentence: 'A light green substance a large silver blender'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A photo of a TV dinner beside a computer and action figures'. Count the number of nouns in this sentence.

Ex Output:
6


Ex Input:
Sentence: 'A man holding a hotdog whle looking into the eyes of a pretty young lady'. Count the number of verbs in this sentence.

Ex Output:

2