function added towards generating the data for the pie charts in the ADSI reports