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

Ex Input:
Sentence: 'A modest wooden bench looks out on a spectacular vista of mountains and cliffs'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'a person eating a hot dog next to other people'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A car radio plays Edgar Rise Burroughs on Sirius FM'. Count the number of verbs in this sentence.

Ex Output:

2