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 train on a track in the middle of a neighborhood'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A young woman playing a piano in a dark room'. Count the number of verbs in this sentence.

Ex Output:

1