Let Λ be a lattice in Rn, and let Z⊆Rm+n be a
definable family in an o-minimal structure over R. We give sharp estimates
for the number of lattice points in the fibers ZT=x∈Rn:(T,x)∈Z.
Along the way we show that for any subspace Σ⊆Rn of dimension
j>0 the j-volume of the orthogonal projection of ZT to Σ is, up
to a constant depending only on the family Z, bounded by the maximal
j-dimensional volume of the orthogonal projections to the j-dimensional
coordinate subspaces.Comment: Revised versio