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

Ex Input:
Sentence: 'There is a silver and blue fire hydrant on a grass field'. Count the number of nouns in this sentence.

Ex Output:
5


Ex Input:
Sentence: 'Several people pushing a truck from the dirt onto the road'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'black of white photo of a bus with doors'. Count the number of nouns in this sentence.

Ex Output:

4