Quality check of a sample partition using multinomial distribution