Group summary by response codes