Map<String, TransUnitWords> result =
new HashMap<String, TransUnitWords>();
for (Object[] count : stats) {
TransUnitWords stat;
ContentState state = (ContentState) count[0];
Long word = (Long) count[1];
LocaleId locale = (LocaleId) count[2];
if (!result.containsKey(locale.getId())) {
stat = new TransUnitWords();
result.put(locale.getId(), stat);