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

Ex Input:
Sentence: 'A woman is sitting in the grass next to her red bike'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'a small black dog is playing with a green toy'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A pair of headphones sitting next to a computer keyboard'. Count the number of verbs in this sentence.

Ex Output:

1