Scientists find solution to measure species existing in liquids