Text this: Minimum sample size for estimating the Bayes error at a predetermined level