Calculate maximum values for artifacts and associations