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 boat with emergency lights on it sitting in a harbor'. Count the number of nouns in this sentence.

Ex Output:
4

Ex Input:
Sentence: 'A neglected skate park has weeds and empty benches'. Count the number of nouns in this sentence.

Ex Output:
4