Add total to get_stats call