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

Ex Input:
Sentence: 'Man poses for picture with his dog while sitting on a bench'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A laptop cake sits on a wooden table by a window'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A nice meal on a plate with a green cloth underneath'. Count the number of verbs in this sentence.

Ex Output:

0