Most of the estimates for N(B) so far have been obtained by means of sieve theory or the theory of exponential sums. The methods of Faltings are ineffective and esentially limited to cases where there are only finitely many solutions to the Diophantine equations. But recently a "determinant method" has been developed which gives very general results. It was initiated by Bombieri and Pila in the case of affine curves and then extended to a general method for hypersurfaces by Heath-Brown in an important paper in Annals of Math. 2002. Recently a new even more powerful version of the determinant method was developed by the speaker. It can be applied to very general classes of algebraic varieties and it gives better estimates for N(B) than could be obtained with the previous versions of the determinant method. An important feature is that a number of techniques from algebraic geometry appear like the theories of Hilbert schemes, Kodaira dimension and Seshadri constants. We shall in our talk present some new results obtained with this method like the solutions of two conjectures of Heath-Brown.