Since it just started, maybe it is due to a med you are taking.
I have had mild OCD (self diagnosed) since I was a kid. I type in the air while listening to a teacher or conversation. I count; like all the steps I take doing something. But I don’t believe that something bad will happen if I don’t. It’s only a compulsion, that’s why I say it’s mild. Just my opinion.