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: 'Some people are on a boat in the water with a bike'. Count the number of verbs in this sentence.

Output: 0


Input: Consider Input: Sentence: 'A man in a suit snaps a mirror selfie'. Count the number of verbs in this sentence.


Output: 1


