Apparatus for monitoring a washing solution containing surfactants