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

Ex Input:
Sentence: 'a cow that is on the side of a hill'. Count the number of verbs in this sentence.

Ex Output:
1

Ex Input:
Sentence: 'We are looking down at the skis of a skier riding a ski lift'. Count the number of verbs in this sentence.

Ex Output:
2

Ex Input:
Sentence: 'the arm of a sofa and a little fridge with a lamp'. Count the number of nouns in this sentence.

Ex Output:
4