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

Ex Input:
Sentence: 'A clear view display refrigerator lined with bottles of beer'. Count the number of nouns in this sentence.

Ex Output:
5


Ex Input:
Sentence: 'A man playing  a game of tennis hitting a ball'. Count the number of verbs in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'a pizza on a tray on a stove'. Count the number of verbs in this sentence.

Ex Output:

0