I started counting calories on my mobile, to lose weight. I eat whatever I want but I record everything. Over time certain aspects of eating like frequent snacking and eating in ignorance get annoying. So you stop doing them.
Somewhere in there I remembered swimming and got a tape and learned to swim laps.
There's a silver bullet for you, diet and exercise.