Cases have risen by 21% in two years, analysis suggests, but councils say the use of bailiffs is justified.