def count_neighbors_wrap_around(grid2count, posInRow, posInCol, row_Count, col_Count):
    """returns number of ALIVE neighbors from a given position on a given grid using wrap around approach"""
    count = 0

    for x in range(-1, 2):
        for y in range(-1, 2):
            if grid2count[(posInRow + x) % row_Count][(posInCol + y) % col_Count] == 1:
                count += 1

    count -= grid2count[posInRow][posInCol]  # doesn't count itself

    return count