public static int findStrCount(String oriStr, String findStr, int count) {
if (oriStr.contains(findStr)) {
count++;
count = findStrCount(oriStr.substring(oriStr.indexOf(findStr) + findStr.length()), findStr, count);
}
return count;
}

public static int findStrCount(String oriStr, String findStr, int count) {
if (oriStr.contains(findStr)) {
count++;
count = findStrCount(oriStr.substring(oriStr.indexOf(findStr) + findStr.length()), findStr, count);
}
return count;
}