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

Ex Input:
Sentence: 'City lights along a city road at night shining bright'. Count the number of verbs in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A couple of people on a horse pulled carriage'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'Someone holding a basket with two hot dogs'. Count the number of verbs in this sentence.

Ex Output:

1