losses count now properly persist on the backend