Write a short program in Python that takes in a string as input and counts the number of distinct characters in it.
def distinct_char_count(string):
    unique_characters = set(string)
    return len(unique_characters)