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

Ex Input:
Sentence: 'A giraffe with many spots standing in a field'. Count the number of verbs in this sentence.

Ex Output:
1

Ex Input:
Sentence: 'A photo of a TV dinner beside a computer and action figures'. Count the number of nouns in this sentence.

Ex Output:
6

Ex Input:
Sentence: 'A man and a woman are cuddling on a park bench'. Count the number of nouns in this sentence.

Ex Output:
4