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

Input: Consider Input: Sentence: 'People are boarding and departing a train at a station'. Count the number of verbs in this sentence.

Output: 2

Input: Consider Input: Sentence: 'A lean, gray racehorse being led to a track'. Count the number of nouns in this sentence.

Output: 2

Input: Consider Input: Sentence: 'A number of young people gathered on a brick surface'. Count the number of nouns in this sentence.
Output: 4