So, for each vertex, a vertex shader and a fragment shader for each fragment are executed (on the right?).
How many times does the geometric shader execute?
It is executed once for each primitive (triangle, line or point) after the vertex shader has converted compound vertices.