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

Example Input: Sentence: 'A collection of headshots dot the picture frame'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'a long tower on top of a white building'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'A plate of small waffles with blueberries, apples, and syrup'. Count the number of nouns in this sentence.
Example Output:
5