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.
Counts the number of schemas for each difficulty level.
A map where the keys are Difficulty levels and the values are counts of schemas with that difficulty.