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

Example Input: Sentence: 'Two people with dogs walking by a modern building in a city'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'People go para gliding in the water near the beach'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'a couple of people that are playing baseball'. Count the number of verbs in this sentence.
Example Output:
1