Evaluating the Size of Queries on Relational Databases with non Uniform Distribution and Stochastic Dependence