Accepted answer
Batch testing establishes what can be claimed about the lot as a whole, and the sample size determines how much you can actually claim.
The sample size determination requires choosing a confidence level and an acceptable error rate, and the smaller the error rate you want, the larger your sample must be.
If you have reason to suspect inhomogeneity — different appearance in different vials, or a long or warm shipment — testing more vials is the diagnostic move.
Sampling plans for pharmaceutical manufacturing are defined in ISO 2859 and ANSI Z1.4, and they are based on statistical sampling theory.
The caveat is that sampling is a trade-off between cost and confidence, and neither test nor assumption is cost-free.
The practical summary: a lot number without a sampling statement is a lot number without meaning.