private void counting() {
    myTotalFileCount++;
    final ProgressIndicator indicator = ProgressManager.getInstance().getProgressIndicator();
    if (indicator != null) {
      indicator.setText(getScanningPackagesMessage());
      indicator.setIndeterminate(true);
    }
  }
private void counting()