Do all the electrons that absorb a photon comes out as photoelectrons?
A common observation in the photoelectric effect is that most of the electrons knocked by photons are scattered into the metal by absorbing photons. In order to escape from the surface, the electron must absorb enough energy to overcome the positive ion attraction in the material of the surface.
Therefore, not all the electrons that absorb a photon comes out from the metal surface.