Calculate stats for units