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

Ex Input:
Sentence: 'Pedestrians stand at a crosswalk waiting for the light to change'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'Two zebras out in the wild in the grass'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'Sleeping white cat on canvas folding chair, near heater, brightly lit area'. Count the number of verbs in this sentence.

Ex Output:

3