European Patent EP0381762B1, AUTOMATIC MILK COUNTER FOR MILKING INSTALLATION / Moskvin G.A.; An automatic milk counter of a milking unit in which a programming unit and a yield sensor of each quarter of the cow's udder is made as a microprocessor device wherein a milking timer is provided with a sensitive element while each continuous milk flow receiving chamber includes a milk flow start and end sensor comprising a float with a magnet which enables the float to engage in reciprocating motion along an air draw off pipe during the filling of a continuous milk flow receiving chamber. A drain hole is provided in the chamber which has a cross-sectional area corresponding to the milk flow rate at the milk flow start and end moments of each quarter of the cow's udder.