I saw this post on CodeWars as an answer in java to finding number of vowels in a word:
    public static int getCount(String str) {
        return str.replaceAll("(?i)[^aeiou]", "").length();
    }
}
Howeve I don't undestand the syntax around this part:
    return str.replaceAll("(?i)[^aeiou]", "").length();
I understand it finds the length after doing something to manipulate the string?