If you are calorie counting then just eat the one's you need and no more.
When I lost my 4+ stone I tried not to eat the calories I earned by cycling, and if I did it never exceeded half the amount. Most bodies have plenty of fuel for a 30 miles steady ride I would imagine.