Put every option from the shelf in. Sizes, packs and units can all differ.
Items of different kinds are never mixed: grams and millilitres compare separately, pieces separately. Treat 1 ml as 1 g only if you choose so yourself; this page does not guess densities. Nothing leaves your browser.