A1-Brouwer degrees and applications to enriched enumerative geometry