Answer:
5 Outer and 1 lone pair
Step-by-step explanation:
A square pyramidal shape results when one of the bonds of an octahedron structure is occupied by a lone pair.
Hence there are 5 bonded atoms and one lone pair. The hybridization about the central atom is [tex]sp^{3} d^2[/tex].
One of the most common example is Xenon tetraflouride. [tex]XeF_4[/tex]. Looking at its structure we can see that it has 5 pairs of outer atoms and one lone pair. With its coordination number 5. The shape of the orbitals is octahedral.