protected static int count(String longOne, String toCount) {
        int i = 0;

        while (longOne.contains(toCount)) {
            i++;
            longOne = longOne.replace(toCount, "");
        }
        return i;
    }