Replace nsf+nsg with ntot