rs3.getLong(1);
long docId = rs3.getLong(2);
String content = rs3.getString(3);
String locale = docToLocaleMap.get(docId);
long wordCount = OkapiUtil.countWords(content, locale);
rs3.updateLong(4, wordCount);
rs3.updateRow();
if (++rowsUpdated % 10000 == 0) {
log.info("CountWordsInHTextFlow: updated "
+ rowsUpdated + "/" + totalRows);
}