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

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

Ex Output:
0


Ex Input:
Sentence: 'A cup of black coffee, biscuits, a piece of meat and grits on a table'. Count the number of verbs in this sentence.

Ex Output:
0


Ex Input:
Sentence: 'The hotdog has mustard and bacon on it'. Count the number of nouns in this sentence.

Ex Output:

3