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: 'A guy on a horse on a busy city street'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'Two people with dogs walking by a modern building in a city'. Count the number of nouns in this sentence.

Ex Output:

4