The u-plane integral as a bridge between enumerative geometry and number theory