Use SAL_N_ELEMENTS

Change-Id: I3d26823a93fd0925ef5e71affd941cd51219ab9e