A new estimator of the discovery probability