Estimating the number of essential genes in a genome