added accumulate_languages to calculate data size per language