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

Example Input: Sentence: 'A giraffe standing next to a stone wall'. Count the number of nouns in this sentence.
Example Output: 3

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: 'Two globes and two balls on top of a table'. Count the number of verbs in this sentence.
Example Output:
0