New features in tag history

could be possible add new functions to get history tags information. I mean database functions like min(), max(), avg, group by, etc

It is a way to get the desired result directly

Regards