def get_num_el(coord):
    """ Get number of elements in mesh.

    Args:
        coord (:obj:`numpy.array`): Coordinates of the element.

    Returns:
        Number of elements in x and y.
    """
    nelx = len(coord[coord[:, 2] == coord[0, 2]]) - 1
    nely = len(coord[coord[:, 1] == coord[0, 1]]) - 1
    return nelx, nely