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

Ex Input:
Sentence: 'A person smiles as she stands on a skateboard in a crowd with a photographer nearby'. Count the number of verbs in this sentence.

Ex Output:
2

Ex Input:
Sentence: 'A lunchbox with vegetables, fruit, a sandwich and a cup of tea'. Count the number of verbs in this sentence.

Ex Output:
0

Ex Input:
Sentence: 'Woman and young child riding on a public transit bus'. Count the number of nouns in this sentence.

Ex Output:
4