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

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

Output: 1

Input: Consider Input: Sentence: 'Two men loading a pick up truck with liquor'. Count the number of nouns in this sentence.

Output: 4

Input: Consider Input: Sentence: 'A pair a red shoes with socks in them site atop a skateboard on a deck'. Count the number of nouns in this sentence.
Output: 6