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

Ex Input:
Sentence: 'Bathroom sink with a variety of different toiletries on it'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A couple of people on a horse pulled carriage'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A woman standing next to a stack of dishes'. Count the number of nouns in this sentence.

Ex Output:

3