Add get_stats_over_time
Big glop commit of lots of work