I count letters in words. I also hear and then keep a running list of homophones--have been doing that for 25+ years.
But my favorite compulsion is to find "perfect" words. A perfect word is one with each of the vowels, with no repeats of any of the vowels. Such as "euphoria, or housewarming---a Superfect word is one with all of the vowels, in order, including the letter Y. I only know of two of those words: abstemiously, and facetiously. Perfection!
Is this an obsession? Am I neurodivergent or mentally ill?