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

Ex Input:
Sentence: 'A little cat sits on a laptop keyboard'. Count the number of verbs in this sentence.

Ex Output:
1


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 bench sitting in front of a wall and next to a door'. Count the number of nouns in this sentence.

Ex Output:

4