make_stats: calculate power totals and commit to database as PowerStats