human
Give me a the Python program you requested given the following:
Write a function to count the number of characters in a string that occur at the same position in the string as in the English alphabet (case insensitive). Here is a solution in Python:
assistant
#Here is the Python program you requested.
 def count_char_position(str1): 
    count_chars = 0
    for i in range(len(str1)):
        if ((i == ord(str1[i]) - ord('A')) or 
            (i == ord(str1[i]) - ord('a'))): 
            count_chars += 1
    return count_chars