protected void printCount(String kind, int count) {
        if (count != 0) {
            String text;
            if (count == 1)
                text = Log.getLocalizedString("count." + kind, String.valueOf(count));
            else
                text = Log.getLocalizedString("count." + kind + ".plural", String.valueOf(count));
            Log.printLines(log.errWriter, text);
            log.errWriter.flush();
        }
    }