public void printCount(String kind,int count){
  if (count != 0) {
    String key;
    if (count == 1)     key="count." + kind;
 else     key="count." + kind + ".plural";
    log.printLines(WriterKind.ERROR,key,String.valueOf(count));
    log.flush(Log.WriterKind.ERROR);
  }
}

public void printCount ( String kind , int count ) { if ( count != 0 ) { String key ; if ( count == 1 ) key = "count." + kind ; else key = "count." + kind + ".plural" ; log . printLines ( WriterKind . ERROR , key , String . valueOf ( count ) ) ; log . flush ( Log . WriterKind . ERROR ) ; } }
print numbers of errors and warnings .
