  We evaluate the mean square limit of exponential sums related with a rational
ellipsoid, extending a work of Marklof. Moreover, as a result of it, we study
the asymptotic values of the normalized deviations of the number of lattice
points inside a rational ellipsoid and inside a rational thin ellipsoidal
shell.
