@@ -0,0 +1,253 @@
+// http://codingbat.com/prob/p186177%0A%0Apublic int strCount(String str, String sub) %7B%0A  if (str.indexOf(sub) != -1) %7B%0A    return %0A      strCount(%0A        str.substring( str.indexOf(sub) + sub.length() ), sub %0A      ) + 1;%0A  %7D%0A  else %7B%0A    return 0;%0A  %7D%0A%7D%0A

Create strCount.java