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

Ex Input:
Sentence: 'A street sign of some sort in the middle of some road'. Count the number of nouns in this sentence.

Ex Output:
5


Ex Input:
Sentence: 'The jar that is left out on the table is dirty'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A man on a horse is doing a jump'. Count the number of verbs in this sentence.

Ex Output:

1