Try flow-meters for coffermakers. Like https://www.juraprofi.de/Jura-Ersatzteile/Sensoren-und-Sicherungen/Flowmeter-Durchflussmelder::2901.html