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

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

Example Input: Sentence: 'An airplane in the air on an open field'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A person checking out what kind of cheese is on the sub sandwich'. Count the number of nouns in this sentence.
Example Output:
5