In a strict sense that can't be done. If your shipping rules work off of quantity a package/bundle product counts as "one" item regardless of how many separate items are inside the package.
In that case we would recommend basing your shipping off of weight or total cost instead of quantity, since you can still set the packaged product to have a higher weight or a greater price than smaller individual items and thus apply more shipping costs to an order.