public boolean existsInListMultipleTimes(String stringToCount, List<String> allKMers) {
        int count = 0;

        for (String s : allKMers) {
            if (s.equals(stringToCount)) {
                count++;
            }
        }

        if (count > 1) {
            return true;
        }

        return false;
    }