Empower interview question

Characters count in a given string