Easy math equation, Count items you want to receive then divide by number of items in crates.

For example lets you only want 5 items from the crate and it contains a total of 120.

5÷120=...