how to calculate aggregate for nursing