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

Ex Input:
Sentence: 'A steam engine train rumbles down the tracks'. Count the number of nouns in this sentence.

Ex Output:
4


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: 'A black and white picture of children with tennis gear'. Count the number of nouns in this sentence.

Ex Output:

4