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

Example Input: Sentence: 'This is a black and white photo of a train sitting on the tracks'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'Three slices of thin pizza next to two bottles of wine'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'A man is using a urinal at a public restroom'. Count the number of nouns in this sentence.
Example Output:
3