The situation where a certain type of seed need to be classified into one of three different categories, according to its germination level, can be formulated as the simultaneous test of three statistical hypotheses. In this paper, the problem of assessing an optimal sample size for the simultaneous test of several hypotheses on a Bernoulli process is studied within the Bayesian framework, and a solution is obtained for a wide class of prior distributions and a logarithmic loss function.