Return the number of distinct letters in a word.
A word usually representing a scale where each character represents a step.
The number of distinct steps in the scale.
Return the number of distinct letters in a word.