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

Ex Input:
Sentence: 'Several zebras and other animals grazing in a field'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A young man riding a skateboard down a railing'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A very cute cat climbing up on a window'. Count the number of nouns in this sentence.

Ex Output:

2