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

Example Input: Sentence: 'A photo of a TV dinner beside a computer and action figures'. Count the number of nouns in this sentence.
Example Output: 6

Example Input: Sentence: 'a woman on her cell phone in the middle of a market place'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'A young boy performs a skateboard trick at a skatepark in front of onlookers'. Count the number of nouns in this sentence.
Example Output:
6