Measuring electrical conductivity or dielectric constant of the mixture