A Statistical Model for Estimating the Number of Records in a Relational Database