def correct_position(first, second):
    """
    :param first: a string.
    :param second: a string.
    :return: the number of characters in first and second which are equal and are located at the same index.
    """
    return sum([f == s for f, s in zip(first, second)])