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: 'A person crossing a road near a stop sign beside a wooded area'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'Two teddy bears posed for a picture together'. Count the number of verbs in this sentence.

Ex Output:

1