Get length from results.ids, not results.