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

Ex Input:
Sentence: 'two people in a field near a tree with a frisbee'. Count the number of verbs in this sentence.

Ex Output:
0

Ex Input:
Sentence: 'Two orange cats playing and fighting on a couch'. Count the number of nouns in this sentence.

Ex Output:
2

Ex Input:
Sentence: 'The view from inside a kitchen to outside a window at dusk'. Count the number of nouns in this sentence.

Ex Output:
4