I used to track my number of days sober, but in my weakness, I found doing so would often trigger more consumption.
When I first tried to move into sobriety, I was drinking once every two weeks. When the day marking the two week anniversary came around - let me tell you - I was so thirsty. "I've earned it," I'd tell myself, and off I'd go to get a bottle.
Then I switched to once every month - same thing happened. The one month anniversary became a justification for drinking.
Giving up counting made it easier for me to maintain my sobriety. I then simply became someone who doesn't drink anymore, rather than someone who hasn't drank for whatever number of days, weeks, months, or years.