It's easy to tell if it's caused by light through the window or by ink transference. If the number appears in the same place on the negative as the window is relative to the film gate (i.e. the centre of the frame for 6x6) then it's light through the window causing it. If it is offset by about an inch, it's ink transference (or reaction) to the emulsion.