cans are cylinders which consist of circles so there are no edges* * * * *A cylinder has two circular edges - where the curved surface meets the plane faces that form the ends (or bases).
A square pyramid has 8 edges and 5 vertices. The base is a square with four edges and vertices. The sides are made of 4 triangles each sharing an edge and vertex.