Without the type I don't see a way to calculate the number of elements in the compression_name() function.