Fast and precise determination of total solid content of latex