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

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 train on a track in the middle of a neighborhood'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A large group of ripe bananas in a wicker basket'. Count the number of nouns in this sentence.
Example Output:
4