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

Ex Input:
Sentence: 'Two people holding tennis rackets on a tennis court'. 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

Ex Input:
Sentence: 'Herd of cows in a fence with the backdrop of a train going down a train track'. Count the number of verbs in this sentence.

Ex Output:
1