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

Ex Input:
Sentence: 'a plate of food that is on a table'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'Large building in the middle of a partly sunny day'. Count the number of verbs in this sentence.

Ex Output:
0


Ex Input:
Sentence: 'A person wearing gear sitting on the side of a fence'. Count the number of verbs in this sentence.

Ex Output:

2