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

Ex Input:
Sentence: 'a couple of birds that are sitting next to each other'. Count the number of nouns in this sentence.

Ex Output:
2


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: 'A pizza sits on a cooling rack to cool'. Count the number of nouns in this sentence.

Ex Output:

2