The new shadow justice secretary asked how many domestic abusers and sex offenders were freed under the scheme to increase prison capacity.