Deakstadieđáhus: Counting subgroups in nilpotent groups and points on elliptic curves