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

Ex Input:
Sentence: 'a messy room with clothes and a computer'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A person in a kitchen with cluttered counters, cutting vegetables in a bowl'. Count the number of nouns in this sentence.

Ex Output:
5


Ex Input:
Sentence: 'A person sitting at a table with two pizzas on pizza pans'. Count the number of nouns in this sentence.

Ex Output:

5