Nanoheal Interview Question

count how many times character are present in a string