#$%^&*AU2014200743A120140313.pdf#####ABSTRACT: The application relates to the separating and sorting of livestock, in particular cattle. An assembly consisting of a passageway, delimited by side delimitations for livestock, such as cattle, from a first space to a second space, wherein a gate system is mounted in the passageway, wherein the gate system has at least one self-closing gate leaf which is movable between a closed position and one or more open positions, including a pass position wherein for an animal from the livestock passage to the second space is possible, also provided with means for counting the number of animals which have passed through the passageway to the second space, wherein the counting means are configured for issuing a count signal as a function of a movement, observed by observation means, of the gate leaf.