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

Ex Input:
Sentence: 'A man flying through the air while riding a snowboard'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'Some people and chickens hang out in an undeveloped space'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A train engine carrying carts down a track'. Count the number of nouns in this sentence.

Ex Output:

4