Yes James as total count was not needed for the distinct count, I have avoided that for this version..  As mentioned above will do in the next step where I will try implementing the Percentile, Mean