Given a string s, return a dictionary where each key is a character from the string and each value is the number of times that character appears. Count all characters exactly as they appear, including uppercase and lowercase letters, digits, punctuation, special characters, and whitespace.
def char_frequency(s):