A polygon is such that when all diagonals from one vertex are drawn, eleven triangles are formed. How many sides does the polygon have?