“…Primary 11G50; Secondary 03C64. This work was initiated while the authors were in residence at the Mathematical Sciences Research Institute (Berkeley) during the Model Theory, Arithmetic Geometry and Number Theory program (January 20, 2014 to May 23, 2014 o-minimal structures (see Binyamini and Novikov [5], Cluckers, Pila and Wilkie [11], Jones, Miller and Thomas [19], Jones and Thomas [20], Pila [24], [26], [27]). In this direction, and for more connections to logic, see Section 4. In this paper, we do not restrict attention to non-oscillatory sets (that is, sets that generate an o-minimal structure).…”