Estimating efficiency in automatic milking systems