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

Ex Input:
Sentence: 'a horse pulls a cart with people sitting on it'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A group of elephants gathered around their watering hole'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'a young man gets some food for a family'. Count the number of nouns in this sentence.

Ex Output:

3