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

Ex Input:
Sentence: 'a table with a drink some flowers an ashtray and a pizza'. Count the number of nouns in this sentence.

Ex Output:
5


Ex Input:
Sentence: 'm mm m mm m mmmm mm m'. Count the number of nouns in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A nature setting with two goats standing about'. Count the number of verbs in this sentence.

Ex Output:

2