Let G be a connected planar graph with 10 vertices. If the number of edges on each face is three, then the number of edges in G is ______.