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

Ex Input:
Sentence: 'A kitchen containing beige and wood cabinets and a white oven'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'Vintage green chairs and a couch in a living room paneled in wood'. Count the number of nouns in this sentence.

Ex Output:
5


Ex Input:
Sentence: 'A living room with a couch and pictures on the wall'. Count the number of nouns in this sentence.

Ex Output:

5