calculate top10 languages