Export config to output each genre's average track duration

Here is a thread about the calculation of the average bitrate:

you could try to adapt it.

A personal remark: people drown in lakes that are 1.5m deep on average.