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

Ex Input:
Sentence: 'A bathroom with a toilet and a counter next to a door'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'The living room is clean and empty of people'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A park bench sitting next to a tree in a park'. Count the number of nouns in this sentence.

Ex Output:

4