Design a program in Python to compare two strings and output the number of characters that are different.
def count_differences(str1, str2): 
    differences = 0 
    for letter1, letter2 in zip(str1, str2): 
        if letter1 != letter2: 
            differences +=1 
    return differences