def embedding_dimension(vertices):
    """
    Get the dimension of the space a simplex is embedded in.

    :param vertices: Vertices of the simplex ((n + 1) x m matrix where row i contains the i:th vertex of the simplex).
    :return: Dimension m of the space the simplex is embedded in.
    :rtype: int
    """
    return len(vertices[0])