def METHOD_NAME(self, pt, edges):
    ''' returns the number of edges that a point lies on. '''
    res = [self.point_on_edge(pt, edge) for edge in [edges[:2], edges[2:]]]
    return len([i for i in res if i])