You have 10 bags with 1000 coins each. In one of the bags, all coins are forgeries. A true coin weighs 1 gram; each counterfeit coin weighs 1.1 gram.
If you have an accurate scale, which you can use only once, how can you identify the bag with the forgeries? And what if you didn't know how many bags contained counterfeit coins?