By interpreting as the unique complex quadratic form , some classical enumerations (i.e., with values in ) acquire meaning when the field of complex numbers is replaced with an arbitrary field . The result of the enumeration is then a quadratic form over rather than an integer. This talk will focus on such enumeration for rational curves in surfaces, that are, roughly speaking, curves admitting a parameterization . I will explain how this quadratic count is defined, and how these quadratic invariants are related to enumeration of complex and real curves (i.e., to Gromov-Witten invariants and Welschinger invariants, respectively.)