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

Input: Consider Input: Sentence: 'A laptop cake sits on a wooden table by a window'. Count the number of nouns in this sentence.

Output: 4


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 group of birds flying in the sky and sitting on a traffic light'. Count the number of verbs in this sentence.


Output: 2