A Cohen–Lenstra phenomenon for elliptic curves