Text this: Enumerating odd-degree hyperelliptic curves and abelian surfaces over P1