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

Ex Input:
Sentence: 'A small kitchen knife on top of a sliced carrot'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A man laughs while sitting on a bench'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A clock tower on the front of a building with a sun dial'. Count the number of verbs in this sentence.

Ex Output:

0