結果 : java program to count the occurrences of a substring in string