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

Ex Input:
Sentence: 'A red open fire hydrant spewing water from it'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'a person is standing in skies in the snow'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A bunch of surfboards that are on the ground'. Count the number of nouns in this sentence.

Ex Output:

3