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

Ex Input:
Sentence: 'A man riding on the back of an elephant near a lake'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A silver and yellow engine is followed by several train cars'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A pepperoni and sausage pizza in a pan on a table'. Count the number of verbs in this sentence.

Ex Output:

0