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

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 red open fire hydrant spewing water from it'. Count the number of nouns in this sentence.

Ex Output:
3

Ex Input:
Sentence: 'A cat standing above a glass jar filled with liquid'. Count the number of nouns in this sentence.

Ex Output:
4