Froth-floating measurements of detergent