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

Example Input: Sentence: 'A person in blue shoes standing in front of a table'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A black and white image of a park bench'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'Cows chew on grass in a field near a forest of trees'. Count the number of verbs in this sentence.
Example Output:
1