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

Ex Input:
Sentence: 'People are playing in the water in front of some hills'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A group of men walk down a path with a group of ox'. Count the number of nouns in this sentence.

Ex Output:
5


Ex Input:
Sentence: 'Cattle in their stalls at a  fair with a blue ribbon displayed overhead'. Count the number of verbs in this sentence.

Ex Output:

1