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

Example Input: Sentence: 'A view of a blue train on train tracks'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'A small white and brown dog carrying a red frisbee'. Count the number of nouns in this sentence.
Example Output: 2

Example Input: Sentence: 'A picture of a black cat sitting on a young man'. Count the number of verbs in this sentence.
Example Output:
1