This thesis comprises work the author has done on two separate problems in arithmetic geometry whose origins lie in homotopy theory. The work in these problems are separate, but linked by the underlying techniques and philosophies. The first part of this thesis is based around an enriched version of the Yau–Zaslow formula for counting rational curves on K3 surfaces, and is joint work with Ambrus P´al. In order to produce this arithmetic enrichment, we first need an invariant that allows us to count. We first construct this invariant, then relate this invariant to more classical invariants. We then prove some basic properties about this invariant, such as its compatibility with transfer maps and Galois twists. We then focus on the que...