An octagonal pyramid has eight sides to it
i think 5
4 4
If you count the base, it has 4.
the Mayan had four outer sides and a base for a total of five. Only four are visible.