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

Example Input: Sentence: 'A modest wooden bench looks out on a spectacular vista of mountains and cliffs'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A lady at an intersection on her bicycle, waiting for the traffic light to change'. Count the number of verbs in this sentence.
Example Output: 2

Example Input: Sentence: 'A vase of flowers next to a ceramic tomato'. Count the number of nouns in this sentence.
Example Output:
3