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

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 keyboard that has some lego men on it'. Count the number of nouns in this sentence.

Output: 2

Input: Consider Input: Sentence: 'A photograph of a highly decorated cake on a table'. Count the number of verbs in this sentence.
Output: 1