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

Ex Input:
Sentence: 'scissors balanced on a plastic carton balanced on a shelf'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'Three zebra are grazing on grass in an open field'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'there is man riding a skateboard down the road'. Count the number of verbs in this sentence.

Ex Output:

1