suppose instead, take 1 from each chest (COUNT is 3) you will have 2 coins the same & the odd box would either the gold 50 (now 49) or the silver 40 (now 39).
the matching, let's say "silver" coins one is the 39 the other 19 - sadly you may not be lucky enough to draw gold from the 20 er 19 chest until the 10th coin from that chest is drawn- when a gold coin is found (or not) we know each of those 2. So without a merciful reveal the total will have been 3 + 10.
But maybe , if y're fortunate... the 4th draw will be the reveal.
My previous consideration would have come to 11 plus 1 = 12