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

Ex Input:
Sentence: 'A baseball game in progress with the batter in the middle of the swing'. Count the number of nouns in this sentence.

Ex Output:
6


Ex Input:
Sentence: 'A young man on a skateboard with hand protectors'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'a girl laying on a bench in the park'. Count the number of verbs in this sentence.

Ex Output:

1