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

Input: Consider Input: Sentence: 'A cat sitting next to a pair of legs on the ground'. Count the number of nouns in this sentence.

Output: 4

Input: Consider Input: Sentence: 'A plate of food with meat, spaghetti and sauce and something in a bowl'. Count the number of nouns in this sentence.

Output: 6

Input: Consider Input: Sentence: 'A statue of birds sitting in front of a building that has a clock on it'. Count the number of verbs in this sentence.
Output: 2