Primarily, two parallel waves are in phase containing a 500nm wavelength, reach a detector after one of the waves passes via a 10cm long block of glass having n = 1.5. Determine the total number of wavelengths shifted among the two waves if they reach the detector?