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

Ex Input:
Sentence: 'A trailer cart filled up high with travel luggage'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A yellow fire hydrant sitting next to a manhole with steam pouring out of it'. Count the number of verbs in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'Cattle being displayed in arena at indoor event'. Count the number of verbs in this sentence.

Ex Output:

1