countByDifficulty

Counts the number of schemas for each difficulty level.

Return

A map where the keys are Difficulty levels and the values are counts of schemas with that difficulty.