Density diagnostic of highly ionized samarium laser produced plasma using Ni-like spatially resolved spectra