public void countUnique() {
    for (String x : uniqueWords) {
      uniqueCounter.put(x, 0);
    }
    for (String x : totalWords) {
      String check = x.toLowerCase();
      if (!uniqueCounter.containsKey(check)) {
        uniqueCounter.put(check, 1);
      } else {
        int currentCount = uniqueCounter.get(check);
        uniqueCounter.put(check, currentCount + 1);
      }
    }
  }