Get stats for each type of record.