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

Example Input: Sentence: 'Surfer riding a wave in ocean with surfboard pointed up'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'a blender near a stove with an open flame'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'A person on a bench in front of water with a bicycle parked next to the bench'. Count the number of verbs in this sentence.
Example Output:
1