To a good approximation when light interacts with transparent plastic it’s either scattered or absorbed. Frosting is a roughening of the surface which shouldn’t change the material's absorption.
One way to measure the total light output by a source is to use an integrating sphere. This is a spherical cavity coated with a Lambertian surface,
https://en.wikipedia.org/wiki/Lambertian_reflectance
Like your frosted led, this surface scatters light without significant absorption. The effect is to randomize the light causing each element of area to be of uniform in intensity independent of the directivity of the source. Measuring the intensity of light from a known area then gives the total light since the total area is known. Measuring an LED’s output before and after frosting might yield you an answer.