I have a lot of counting/checking rituals.
I was a manager of a restaurant for 4 years, and often I would drive all the way back, unlock the door, turn off the alarm, just to make sure the 2 flat top grills were off. No matter how "off" they felt, i would try to turn them even more, just to make sure. Same goes with the safe; I knew it was closed, but I would come back and quadruple check it. Turning something off is not enough for me; I normally turn it off with a count of 1-10, until it feels right. I have resorted to taking photos to remind myself it is off, and nothing is going to burn down. Thoughts like that have compelled me to drop everything I am doing and fix the problem.
I quit my job and I am a full time college student now, but the problem still exists. It has calmed down alot, but still, when I go out to smoke a cigarette, on the way back in I will spit atleast 8 times, until it feels right. Also, I have to tap the rooftop twice if I see a one-head light car. I feel that sense of doom if I dont do these tasks as they were presented in my mind.