String input = "ababaaba"; String word = "a";
int count = StringUtils.countOccurrences(input, word);
doridori2013@nate.com