1、Write a method that counts the number of occurrences of a given character in a string
2、Write a method that counts the number of occurrences of a particular string in another string
1、Write a method that counts the number of occurrences of a given character in a string
2、Write a method that counts the number of occurrences of a particular string in another string