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

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: 'A young teenager in glasses smiles while brushing her teeth'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A person is walking with their dog in a backpack in the park'. Count the number of nouns in this sentence.

Ex Output:

4