calculates records costs and durations by record type