We prove a sharp bound for the remainder term of the number of lattice points
inside a ball, when averaging over a compact set of (not necessarily
unimodular) lattices, in dimensions two and three. We also prove that such a
bound cannot hold if one averages over the space of all lattices.Comment: 29 page