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

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: 'a plate of food that is on a table'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'It is not often that a window is positioned over a toilet'. Count the number of verbs in this sentence.

Ex Output:

1