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

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 woman wearing glasses with a cat on her neck'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'A photo of a train coming to a train platform'. Count the number of nouns in this sentence.
Example Output:
4