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

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: 'A group of people march across a field with a red flag'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A white work horse pulling a red wheeled vehicle'. Count the number of verbs in this sentence.

Ex Output:

1