Add retention count option for cudf generation.