A milking arrangement comprising: - a milk transport line, - a plurality of milk stations connected to the milk transport line, - a milk container connected to the milk transport line and configured to receive milk transported from the milk stations to the milk container via the milk transport line, and - a cleaning arrangement configured to introduce a liquid into the milk transport line and to transport the liquid through the milk transport line, said cleaning arrangement comprising - a delivery arrangement configured to deliver a cleaning liquid into the milk transport line, - a pump configured to pump the cleaning liquid through the milk transport line at a pressure larger than atmospheric pressure, thereby filling the transport line with cleaning liquid, characterized in that the cleaning arrangement further comprises - a first sensor arrangement configured to measure an amount of cleaning liquid delivered by the delivery arrangement into the milk transport line and to detect the point of time at which cleaning liquid starts flowing through the milk transport line, - a second sensor arrangement configured to detect the point of time at which cleaning liquid has traveled through the milk transport line, - a control unit configured to receive input from the first sensor arrangement regarding the amount of cleaning liquid delivered by the delivery arrangement into the milk transport line and the point of time at which cleaning liquid starts flowing through the milk transport line, and to receive input from the second sensor arrangement regarding the point of time at which cleaning liquid has traveled through the milk transport line, and configured to control the delivery arrangement on basis of said input received from said first and second sensor arrangement (7, 8), wherein the control unit is configured to determine a volume and/or length of the milk transport line on basis of said input from said first and second sensor arrangement (7, 8), and configured to control the delivery arrangement on basis thereof. - a milk transport line, - a plurality of milk stations connected to the milk transport line, - a milk container connected to the milk transport line and configured to receive milk transported from the milk stations to the milk container via the milk transport line, and - a cleaning arrangement configured to introduce a liquid into the milk transport line and to transport the liquid through the milk transport line, said cleaning arrangement comprising - a delivery arrangement configured to deliver a cleaning liquid into the milk transport line, - a pump configured to pump the cleaning liquid through the milk transport line at a pressure larger than atmospheric pressure, thereby filling the transport line with cleaning liquid, characterized in that the cleaning arrangement further comprises - a first sensor arrangement configured to measure an amount of cleaning liquid delivered by the delivery arrangement into the milk transport line and to detect the point of time at which cleaning liquid starts flowing through the milk transport line, - a second sensor arrangement configured to detect the point of time at which cleaning liquid has traveled through the milk transport line, - a control unit configured to receive input from the first sensor arrangement regarding the amount of cleaning liquid delivered by the delivery arrangement into the milk transport line and the point of time at which cleaning liquid starts flowing through the milk transport line, and to receive input from the second sensor arrangement regarding the point of time at which cleaning liquid has traveled through the milk transport line, and configured to control the delivery arrangement on basis of said input received from said first and second sensor arrangement (7, 8), wherein the control unit is configured to determine a volume and/or length of the milk transport line on basis of said input from said first and second sensor arrangement (7, 8), and configured to control the delivery arrangement on basis thereof. - a delivery arrangement configured to deliver a cleaning liquid into the milk transport line, - a pump configured to pump the cleaning liquid through the milk transport line at a pressure larger than atmospheric pressure, thereby filling the transport line with cleaning liquid, characterized in that the cleaning arrangement further comprises - a first sensor arrangement configured to measure an amount of cleaning liquid delivered by the delivery arrangement into the milk transport line and to detect the point of time at which cleaning liquid starts flowing through the milk transport line, - a second sensor arrangement configured to detect the point of time at which cleaning liquid has traveled through the milk transport line, - a control unit configured to receive input from the first sensor arrangement regarding the amount of cleaning liquid delivered by the delivery arrangement into the milk transport line and the point of time at which cleaning liquid starts flowing through the milk transport line, and to receive input from the second sensor arrangement regarding the point of time at which cleaning liquid has traveled through the milk transport line, and configured to control the delivery arrangement on basis of said input received from said first and second sensor arrangement (7, 8),