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

Ex Input:
Sentence: 'A collection of books and knick-knacks on shelves'. Count the number of nouns in this sentence.

Ex Output:
5


Ex Input:
Sentence: 'large clock mounted to a living room wall'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A vase with flowers is displayed next to a handmade object'. Count the number of nouns in this sentence.

Ex Output:

3