It's more than possible to store a list of simple 0 and 1 bits in a form much smaller than the number of items in that list. A simple 8-bit binary number can store a list of up to 256 0s and 1s for example.