def rotate_square_counter(block, count):
    """
    Return a square block after rotating counterclockwise 90° count times
    """
    for _ in range(count):
        block = [[block[j][i] for j in range(len(block))] for i in list(reversed(range(len(block))))]
        block = [''.join(i) for i in block]
    return block