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

Ex Input:
Sentence: 'A duckling swims in a pond and catches some food'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A baseball player attempting to slide into a base'. Count the number of verbs in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A burgundy double decker bus parked on a street'. Count the number of nouns in this sentence.

Ex Output:

4