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

Example Input: Sentence: 'The shelves are covered with a lamp, a clock, drawers, and photos'. Count the number of nouns in this sentence.
Example Output: 5

Example Input: Sentence: 'A small child sleeping in a toddler bed with a pink bed set'. Count the number of verbs in this sentence.
Example Output: 2

Example Input: Sentence: 'Two cats touching each other face to face'. Count the number of nouns in this sentence.
Example Output:
2