If a polyhedron has 8 faces and 10 vertices, find the number of edges it has.​