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

Ex Input:
Sentence: 'A cat that is laying down on a bed'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'Two cows that are standing in the grass'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A red train engine coming into a station'. Count the number of nouns in this sentence.

Ex Output:

3