TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'The street is barred for a train to pass'. Count the number of verbs in this sentence.

SOLUTION: 2

PROBLEM: Sentence: 'The bathroom has a sink with an Elvis Presley item'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'Two women sit on a sidewalk near a street with a train passing by'. Count the number of verbs in this sentence.

SOLUTION:
1