The size of retrieval sets