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

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

Ex Output:
1


Ex Input:
Sentence: 'A large and baby cow are on tall grass'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A fireman messing with a fire hydrant near a curb'. Count the number of verbs in this sentence.

Ex Output:

1