Calculating the relative share over the total