records.size());
for (T2<AgencyAndId, Integer> record : records) {
AgencyAndId stopId = record.getFirst();
Integer count = record.getSecond();
StopProblemReportSummaryBean bean = new StopProblemReportSummaryBean();
bean.setStop(_stopBeanService.getStopForId(stopId));
bean.setStatus(query.getStatus());
bean.setCount(count);
beans.add(bean);
}
return new ListBean<StopProblemReportSummaryBean>(beans, false);
}