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

Ex Input:
Sentence: 'A person crossing a road near a stop sign beside a wooded area'. Count the number of nouns in this sentence.

Ex Output:
4

Ex Input:
Sentence: 'The breakfast is ready to be eaten at the table'. Count the number of nouns in this sentence.

Ex Output:
2

Ex Input:
Sentence: 'A bunch of birds gathered in the shallow end of a pond'. Count the number of nouns in this sentence.

Ex Output:
4