Combinatorial library enumeration