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 snowboarder showing off on his snowboard in the air'. Count the number of nouns in this sentence.

Ex Output:
3

Ex Input:
Sentence: 'There are two giraffes and a zebra walking around the dirt path'. Count the number of verbs in this sentence.

Ex Output:
1