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

Input: Consider Input: Sentence: 'A street has a traffic light, a parked bicycle, and a car on it'. Count the number of verbs in this sentence.

Output: 2

Input: Consider Input: Sentence: 'The post on the street has a clock displayed'. Count the number of nouns in this sentence.

Output: 3

Input: Consider Input: Sentence: 'Various people are walking on the busy sidewalk'. Count the number of nouns in this sentence.
Output: 2