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

Ex Input:
Sentence: 'A young man riding a skateboard down a railing'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A group of cows that are standing in the grass'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'a room with a desk and a cat in a chair'. Count the number of verbs in this sentence.

Ex Output:

0