Twelve.
a rectangular pyramid has a total of 8 edges
12 edges
There is no geometrical object called a rectangular sphere. Objects with similar names include the sphere and the rectangular prism. For example, the 2-sphere is the surface of a ball, with no edges...
Four.