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

Example Input: Sentence: 'Two people walk down an city sidewalk carrying umbrellas'. Count the number of verbs in this sentence.
Example Output: 2

Example Input: Sentence: 'A parking meter in front of a car'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A plane parked next to a truck next to a house'. Count the number of nouns in this sentence.
Example Output:
3