Freelancer Interview Question

Find frequency from the given string.