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

Ex Input:
Sentence: 'A wooden wardrobe sitting next to a black trunk'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A tall clock tower flanked by two trees'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A cat standing by a cake and a white plate'. Count the number of verbs in this sentence.

Ex Output:

1