I have a custom sensor with 3 channels: avg_time, max_time, count. In live data, those metrics are obviously correct. However, in historic data, the metrics are averaged through the period of time, and that's not very helpful. I can use the maximum value mode for the max_time channel, and that's good. Ideally, I'd like to sum all data for the count channel.