How many vertices does the following shape have?
A rectangle-based pyramid. There are 4 edges along the base and 4 edges joining the vertices of the base to the apex of the pyramid. The hidden edges are dashed lines.