Average of weanings from the last 3 farrowings.

Add the weaned piglets from  the last 3 farrows (partial and total) / number of farrowing analyzed (DON'T CONSIDER WEANING OF NURSE SOW)

Remember that if the sow has not yet reached 3 farrowing, divide by the number of farrowing she has had on the farm.