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

Input: Consider Input: Sentence: 'A toilet is on the road by a truck'. Count the number of verbs in this sentence.

Output: 0


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

Output: 1


Input: Consider Input: Sentence: 'A street scene with a horse pulling a carriage'. Count the number of nouns in this sentence.


Output: 4