code: @Deprecated
    public static void writeRecordCount (FileSystem fs, Path dir, long count) throws IOException {
       State state = loadState(fs, dir);
       state.setProp(CompactionSlaEventHelper.RECORD_COUNT_TOTAL, count);
       saveState(fs, dir, state);
    }
docs: Write record count to a specific directory.
  File name is {@link InputRecordCountHelper#RECORD_COUNT_FILE}
  @param fs file system in use
  @param dir directory where a record file is located