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

Ex Input:
Sentence: 'A person holding a bottle while riding a skateboard'. Count the number of verbs in this sentence.

Ex Output:
2

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: 'Sheep herd on road with dashboard photo and trees in background'. Count the number of nouns in this sentence.

Ex Output:
6