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

Ex Input:
Sentence: 'A zebra in the sun on a dirt road'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'a messy room with clothes and a computer'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'The boy is standing with one foot on a chair, while cutting fabric'. Count the number of verbs in this sentence.

Ex Output:

2