A method is provided for control of the milking of animals which move in an area including at least one grazing paddock (12) in which the animals can graze, a milking area (12} located remote from the grazing paddock, and a raceway (14a-c) via which animals in the grazing paddock can access the milking area, wherein the milking area comprises a milking system (16) for milking of the animals which have accessed the milking area. According to the method animals that are to access the milking area via the raceway are counted (31) in at least one position located remote from the milking system a future amount of animals in the milking area is predicted (33) based on the animals counted in the at least one position located remote from the milking system and the operation of the milking system or other arrangement in the area is controlled (35) in a manner and at a point of time which is dependent on the predicted future amount of animals in the milking area.