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

Ex Input:
Sentence: 'A hand holding a partially eaten doughnut hole'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A backyard with tables, shade trees, and a stepping stone path'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A restored Woodie brings back old beach memories'. Count the number of verbs in this sentence.

Ex Output:

2