code: public static void logCount(Logger logger, Level level, int count, 
              String singularMessage, String pluralMessage) {
          logCount(logger, level, count, singularMessage, pluralMessage, 
                  null, null);
      }
docs: Prints a count of something to a log with an appropriate singular or
  plural message.
  
  @param logger the {@link Logger} to which to print.
  @param level the logging {@link Level}.
  @param count the count to print.
  @param singularMessage the message string to print if the count is
  <code>1</code>. In {@link java.text.MessageFormat} style. The
  <code>{0}</code> parameter will be replaced by the count.
  @param pluralMessage the message string to print if the count is
  <code>0</code> or greater than <code>1</code>.  in
  {@link java.text.MessageFormat} style. the <code>{0}</code> parameter
  will be replaced by the count.