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

Ex Input:
Sentence: 'Two beds set right next to each other in a room'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A nearly all white colored bedroom with a brown wooden floor'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A young boy swinging a baseball bat towards  a ball'. Count the number of nouns in this sentence.

Ex Output:

4