
    Write a function that analyzes delivery route identifiers to determine how many zone letters appear in positions that match their natural alphabetical order, helping identify optimal route segments. For example, in a route identifier "TRUCK5ZONEB", check how many letters (ignoring numbers and case) occur in the same position as they would in the alphabet (where 'A' would be position 1, 'B' position 2, etc.).
    

    
def count_char_position(str1):
    """
    Write a function that analyzes delivery route identifiers to determine how many zone letters appear in positions that match their natural alphabetical order, helping identify optimal route segments. For example, in a route identifier "TRUCK5ZONEB", check how many letters (ignoring numbers and case) occur in the same position as they would in the alphabet (where 'A' would be position 1, 'B' position 2, etc.).
    

    """
def count_char_position(str1):
    """
    Write a function that analyzes delivery route identifiers to determine how many zone letters appear in positions that match their natural alphabetical order, helping identify optimal route segments. For example, in a route identifier "TRUCK5ZONEB", check how many letters (ignoring numbers and case) occur in the same position as they would in the alphabet (where 'A' would be position 1, 'B' position 2, etc.).
    

    """
    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