Enumerative P=W and the Bethe Ansatz