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

Ex Input:
Sentence: 'a couple of birds that are sitting next to each other'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A man brushing his teeth with a tooth brush'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A guitar case laying a a bed covered with pink sheets'. Count the number of verbs in this sentence.

Ex Output:

2