Automatic weigher for long goods