Refactor the loading of language stats

Change-Id: I64ae2ebed20d6b2fe0611f9e624ef7ee9591d76a
Merge "Refactor the loading of language stats"