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

Ex Input:
Sentence: 'A train car with four beds next to a window'. Count the number of nouns in this sentence.

Ex Output:
4


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: 'A group of people are all playing video games'. Count the number of verbs in this sentence.

Ex Output:

1