How do you find the amount of an ester in a substance and find the purity of the ester?