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

Ex Input:
Sentence: 'a keyboard that has some lego men on  it'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A white and grey dog in market area next to bananas and strawberries'. Count the number of nouns in this sentence.

Ex Output:
5


Ex Input:
Sentence: 'A group of men holding Nintendo Wii game controllers'. Count the number of nouns in this sentence.

Ex Output:

4