Magic Lantern has that and a zillion more features. I use it frequently for time lapse, both controlled frame rate in vid mode or intervalometer in stills mode