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

Example Input: Sentence: 'Buses in a third-world country are colorfully decorated'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'Painting of a large elephant walking through an open field by itself'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A man standing in a living room holding a Nintendo Wii game controller'. Count the number of nouns in this sentence.
Example Output:
5