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

Input: Consider Input: Sentence: 'A person talking a photo of a bathroom containing a sink and a toilet'. Count the number of verbs in this sentence.

Output: 2

Input: Consider Input: Sentence: 'A boat with emergency lights on it sitting in a harbor'. Count the number of nouns in this sentence.

Output: 4

Input: Consider Input: Sentence: 'A little, brown bird on a tree branch'. Count the number of verbs in this sentence.
Output: 0