Calculating percentage of total