Відправити по sms: Counting subgroups in nilpotent groups and points on elliptic curves