fixing planners to accept the number of tuples per partition