Freelancer interview question

Find frequency from the given string.