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

Example Input: Sentence: 'A kitchen containing beige and wood cabinets and a white oven'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A red jet plane streaming blue exhaust against a gray sky'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'Black and white photo of a large clock located outside'. Count the number of verbs in this sentence.
Example Output:
1