getting statistic from dict of all sorted files