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

Example Input: Sentence: 'A photo of young children playing base ball turned the wrong way'. Count the number of nouns in this sentence.
Example Output: 5

Example Input: Sentence: 'A cat that is laying down on a bed'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'Stuffed bears that are lying on their back'. Count the number of verbs in this sentence.
Example Output:
2