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

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

Output: 3


Input: Consider Input: Sentence: 'A woman riding a surfboard on top of a wave in the ocean'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A red stop sign with a red 4 way underneath it'. Count the number of nouns in this sentence.


Output: 2