Oscillations in photon distribution of squeezed states